classGeneratorFn fail in web extensions
phlax opened this issue · comments
phlax commented
I tried using this package in a web extension, but the eval
in classGeneratorFn
gets blocked by CSP
in web extensions
David Fenster commented
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 commented
i guess so, it was on import that triggered the error