forked from geowarin/friendly-errors-webpack-plugin
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I found the "Turn off errors" config to be confusing. I'm not using express, so it doesn't apply in my case. Also I think it's for an older version of webpack.
With webpack 5, the old logging config is obsolete, we must use infrastructureLogging instead.
This works:
I'm using "error" rather than "none". But the output is the same in both cases anyway.
That docs section should be updated to show the config above, to avoid confusion. Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
module.exports = { //... infrastructureLogging: { level: 'error', }, };