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

Update Babel build system to remove need for unsafe-eval in CSP #59

Merged
merged 4 commits into from
Feb 27, 2020

Conversation

chris-revops
Copy link
Contributor

Previous a bit of code inserted by Babel was causing the script to be loaded using a Function constructor which required a unsafe-eval in CSP headers.

Updating the Babel build system seems to have resolved this issue. This also required a few minor tweaks to index.js and EntityModel

Related, facebook/regenerator#336

@chris-revops chris-revops changed the title Feature/safe inline script Update Babel build system to remove need for unsafe-eval in CSP Feb 25, 2020
@chris-revops chris-revops merged commit 60f8361 into master Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants