node-common-errors
node-common-errors copied to clipboard
classGeneratorFn fail in web extensions
I tried using this package in a web extension, but the eval in classGeneratorFn gets blocked by CSP in web extensions
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?
i guess so, it was on import that triggered the error