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

classGeneratorFn fail in web extensions #32

Open
phlax opened this issue Jan 4, 2018 · 2 comments
Open

classGeneratorFn fail in web extensions #32

phlax opened this issue Jan 4, 2018 · 2 comments

Comments

@phlax
Copy link

phlax commented Jan 4, 2018

I tried using this package in a web extension, but the eval in classGeneratorFn gets blocked by CSP in web extensions

@dfenster
Copy link
Contributor

dfenster commented Jan 5, 2018

Good to know.
Would it solve your problem if I continue to include that function as is (without calling it except for in tests)? I can then pre-generate the classes into files before publishing to npm?

@phlax
Copy link
Author

phlax commented Jan 5, 2018

i guess so, it was on import that triggered the error

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

No branches or pull requests

2 participants