I'm adding CSP rules to my project and noticed that this package doesn't handle the nonce attribute.
The code returns the error here:
this.element.setAttribute(this.name,null!=t?t:"")
I tried both importing the inline script and compiling the npm package via webpack but nothing changes
I don't want to add unsafe-inline in my header, it would be safer and more convenient to have a way to inject the nonce attribute
I'm adding CSP rules to my project and noticed that this package doesn't handle the nonce attribute. The code returns the error here:
this.element.setAttribute(this.name,null!=t?t:"")
I tried both importing the inline script and compiling the npm package via webpack but nothing changes
I don't want to add unsafe-inline in my header, it would be safer and more convenient to have a way to inject the nonce attribute