Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content Security Policy / Nonces #3154

Open
NickBlow opened this issue Jun 20, 2019 · 1 comment
Open

Content Security Policy / Nonces #3154

NickBlow opened this issue Jun 20, 2019 · 1 comment

Comments

@NickBlow
Copy link

❔ Question

I'm currently evaluating parcel.js for a personal project, but I want to use Content-Security-Policy as well. Webpack has a webpack_nonce value that they can automatically apply to all the code split bundles. Is there anything similiar for parcel?

🔦 Context

I want to use a strict CSP to help prevent XSS attacks on the site, ideally only allowing a nonce.

@mischnic
Copy link
Member

Currently not. Might be possible to achieve using a custom plugin

@stale stale bot added the Stale Inactive issues label Jan 17, 2020
@DeMoorJasper DeMoorJasper removed the Stale Inactive issues label Jan 17, 2020
@parcel-bundler parcel-bundler deleted a comment from stale bot Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants