mirror of
https://github.com/vector-im/element-web.git
synced 2024-09-09 22:55:12 +00:00
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.
This commit is contained in:
parent
2445f19431
commit
4c4f885f25
1 changed files with 3 additions and 4 deletions
|
@ -337,10 +337,9 @@ module.exports = (env, argv) => {
|
||||||
// serve unwebpacked assets from webapp.
|
// serve unwebpacked assets from webapp.
|
||||||
contentBase: './webapp',
|
contentBase: './webapp',
|
||||||
|
|
||||||
stats: {
|
// Only output errors, warnings, or new compilations.
|
||||||
// don't fill the console up with a mahoosive list of modules
|
// This hides the massive list of modules.
|
||||||
chunks: false,
|
stats: 'minimal',
|
||||||
},
|
|
||||||
|
|
||||||
// hot module replacement doesn't work (I think we'd need react-hot-reload?)
|
// hot module replacement doesn't work (I think we'd need react-hot-reload?)
|
||||||
// so webpack-dev-server reloads the page on every update which is quite
|
// so webpack-dev-server reloads the page on every update which is quite
|
||||||
|
|
Loading…
Reference in a new issue