Merge pull request #12049 from vector-im/jryans/webpack-minimal

Change to minimal Webpack output
This commit is contained in:
J. Ryan Stinnett 2020-01-24 22:47:32 +00:00 committed by GitHub
commit 9c258f9da9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -337,10 +337,9 @@ module.exports = (env, argv) => {
// serve unwebpacked assets from webapp.
contentBase: './webapp',
stats: {
// don't fill the console up with a mahoosive list of modules
chunks: false,
},
// Only output errors, warnings, or new compilations.
// This hides the massive list of modules.
stats: 'minimal',
// 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