Closed
Description
I'm looking at using Webpack on a site which requires strict Content Security Policy headers.
I'm setting window.__webpack_nonce__
but it doesn't seem to be adding a nonce
attribute to style
elements created by style-loader. Looking at webpack#3210 it only seems to be adding a nonce attribute to generated script elements? Is there some additional work required in style-loader to support nonce attributes?
I don't mind doing a PR, just wanted to make sure first though that I'm not missing something!