Skip to content

Commit 4c4f885

Browse files
committed
Change to minimal Webpack output
This changes Webpack to only output errors, warnings, or new compilations. This has the effect of hiding the massive list of modules. The giant list was actually _hiding_ warnings because they appear first and scroll off the terminal.
1 parent 2445f19 commit 4c4f885

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

webpack.config.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -337,10 +337,9 @@ module.exports = (env, argv) => {
337337
// serve unwebpacked assets from webapp.
338338
contentBase: './webapp',
339339

340-
stats: {
341-
// don't fill the console up with a mahoosive list of modules
342-
chunks: false,
343-
},
340+
// Only output errors, warnings, or new compilations.
341+
// This hides the massive list of modules.
342+
stats: 'minimal',
344343

345344
// hot module replacement doesn't work (I think we'd need react-hot-reload?)
346345
// so webpack-dev-server reloads the page on every update which is quite

0 commit comments

Comments
 (0)