styled-jsx icon indicating copy to clipboard operation
styled-jsx copied to clipboard

Adding Content Security Policy with Next.js + styled-jsx

Open KarthikeyanRanasthala opened this issue 4 years ago • 3 comments

Do you want to request a feature or report a bug?

Yes, Improve documentation. Please add relevant details/steps on adding nonce for Content Security Policy with styled-jsx + next.js As next.js handles styled-jsx internally, the current mentioned method in the doc is not applicable. This is a major concern as all the next.js apps using styled-jsx have to add 'unsafe-inline' in the CSP. I would request the maintainers to take up this on priority.

KarthikeyanRanasthala avatar Jul 25 '20 12:07 KarthikeyanRanasthala