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
{{ message }}
This repository was archived by the owner on Jul 27, 2021. It is now read-only.
If you use webpack-hot-middleware, that is done by setting the log option to a no-op. You can do something sort of like this, depending upon your setup:
_Thanks to [webpack-dashboard](https://github.com/FormidableLabs/webpack-dashboard) for this piece of info._
57
+
37
58
## Demo
38
59
39
60
### Build success
@@ -69,7 +90,7 @@ new FriendlyErrorsPlugin({
69
90
// should the console be cleared between each compilation?
70
91
// default is true
71
92
shouldClearConsole:true,
72
-
93
+
73
94
// add formatters and transformers (see below)
74
95
additionalFormatters: [],
75
96
additionalTransformers: []
@@ -108,7 +129,7 @@ new NotifierPlugin({
108
129
### Transformers and formatters
109
130
110
131
Webpack's errors processing, is done in four phases:
111
-
132
+
112
133
1. Extract relevant info from webpack errors. This is done by the plugin [here](https://github.com/geowarin/friendly-errors-webpack-plugin/blob/master/src/core/extractWebpackError.js)
113
134
2. Apply transformers to all errors to identify and annotate well know errors and give them a priority
114
135
3. Get only top priority error or top priority warnings if no errors are thrown
0 commit comments