You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dev Server still requires "unsafe-eval" CSP when one specifies a filter predicate for Client.Overlay.RuntimeErrors
I am using v5.2. A similar issue was fixed in v5.0.1.
Actual Behavior
Config like below will result in an error on launch of app unless CSP includes "unsafe-eval":
Expected Behavior
"unsafe-eval" should not be necessary to filter certain errors out of overlay
How Do We Reproduce?
Please paste the results of npx webpack-cli info here, and mention other relevant information
We use new Function to pass overlay runtime values from your configuration to runtime code (when you want to filter something), we can't solve it without eval/new Function(), so please configuration your development env to allow, sorry, we really can't provide this logic without evil eval, feel free to feedback
Bug report
Dev Server still requires "unsafe-eval" CSP when one specifies a filter predicate for Client.Overlay.RuntimeErrors
I am using v5.2. A similar issue was fixed in v5.0.1.
Actual Behavior
Config like below will result in an error on launch of app unless CSP includes "unsafe-eval":
Expected Behavior
"unsafe-eval" should not be necessary to filter certain errors out of overlay
How Do We Reproduce?
Please paste the results of
npx webpack-cli info
here, and mention other relevant informationThe text was updated successfully, but these errors were encountered: