field-form
field-form copied to clipboard
Remove babel polyfill from ESM output
ESM is for modern usage and should not include babel runtime. The babel regenerator runtime requires unsafe-eval CSP which is a safety concern. Removing the babel polyfill can fix this issue.
The babel regenerator runtime requires unsafe-eval CSP which is a safety concern.
Looks like they've fixed the issue. It was due to legacy dependencies.
Still recommend to remove the babel runtime for ESM though.
Agree, we use polyfill.io and babel runtime is totally unnecessary in our scenario.