Closed franciscolourenco closed 5 years ago
Yes, this can be done. Will probably take some time, but if you need it now, you can use the manifestTransformer
option to provide a function to do it yourself.
Thanks for the tip!
Automatic removal of 'unsafe-eval'
in production builds should be available in 0.22.1
I'm trying to edit the
content_security_policy
but I see that this plugin is was setting its own, only during development, withunsafe-eval
, I guess for the purposes of HMR or sourcemap eval?Is is currently possible to set a custom
content_security_policy
in such a way thatunsafe-eval
is removed in production?Thanks!