-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] allow to filter runtime errors/errors/warning in overlay #4777
Comments
@alexander-akait I thought boolean already supported? Or the intention is to move it from |
@malcolm-kee Yeah, boolean already supports, I mean we need to allow to filter them, i.e. pass function to our client (serilized) and use (deserilize) in the client code, so some errors can be filtered without filly disable functional of
|
@alexander-akait I would love to work on this but quite clueless how to do this, as all current options are JSON values. Do you have any pointer, such as plugins with similar capabilities that I can take inspiration from? |
@malcolm-kee Hello, yeah, feel free to send a PR, we can use this logic (but!):
Without eval we can't solve it... As the first step let's allow to pass on only regexps, it will be safer and without eval and should solve around 99% problems |
Very looking forward to see this new feature when i saw the constant |
Fixed #4813, release will be soon |
This is now documented: https://webpack.js.org/configuration/dev-server/#overlay |
The idea:
But let's implement boolean firstly, so you can disable it if you need, and then we can look at serilization
Originally posted by @alexander-akait in #4771 (comment)
The text was updated successfully, but these errors were encountered: