-
Notifications
You must be signed in to change notification settings - Fork 50
warningsFilter
is not honoured
#94
Comments
|
I guess we need a similar option to |
That would be a lot of unneeded complexity for minutia around displaying logs in the browser. Just keep an eye on your terminal and you'll only see there what you want to see, as |
For context, we are using |
It is also needed for Angular project to filter |
@JounQin same here - just came from that ticket, thanks for linking it. We use an angular project using webpack 4 and angular 5, with webpack dev server and we are also seeing 4 of those System.import logs on each page load. Had to up our client-log-level in webpack-dev-server to error only to prevent these errors (from HMR) logging to the browser console. |
The problem with setting I thiknk I found a way to hide warnings that doesn't also silence info, by using the following: send: {
warnings: false
} This omits any warnings that are sent through the socket. |
Ok while the above actually works, it turns of the call of But looking at the code, I understand why it's happening:
|
Expected Behavior
webpack's
stats.warningsFilter
should be honoured in the log output ofwebpack-hot-client
.Actual Behavior
webpack's
stats.warningsFilter
is not honoured in the log output ofwebpack-hot-client
.Code
How Do We Reproduce?
Define a
stats.warningsFilter
and observe the log output.The text was updated successfully, but these errors were encountered: