diff options
author | Nolan Lawson <nolan@nolanlawson.com> | 2019-03-16 03:23:54 -0700 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-16 11:23:54 +0100 |
commit | d5c79975ea13bfc061d08cc123ffc25fb589e3ba (patch) | |
tree | f63d13dcaa39d303b166e1d10a3c98aa5fa78bb9 /config | |
parent | 1c113fd72df18999de1d6f09fa3790dd1f715506 (diff) |
perf: remove stats.json generation in webpack (#10290)
* perf: remove stats.json generation in webpack * fix code comment
Diffstat (limited to 'config')
-rw-r--r-- | config/webpack/production.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/config/webpack/production.js b/config/webpack/production.js index 6f27aa2c7..c829ff6f1 100644 --- a/config/webpack/production.js +++ b/config/webpack/production.js @@ -57,13 +57,8 @@ module.exports = merge(sharedConfig, { cache: true, test: /\.(js|css|html|json|ico|svg|eot|otf|ttf|map)$/, }), - new BundleAnalyzerPlugin({ // generates report.html and stats.json + new BundleAnalyzerPlugin({ // generates report.html analyzerMode: 'static', - generateStatsFile: true, - statsOptions: { - // allows usage with http://chrisbateman.github.io/webpack-visualizer/ - chunkModules: true, - }, openAnalyzer: false, logLevel: 'silent', // do not bother Webpacker, who runs with --json and parses stdout }), |