about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNolan Lawson <nolan@nolanlawson.com>2019-03-16 03:23:54 -0700
committerEugen Rochko <eugen@zeonfederated.com>2019-03-16 11:23:54 +0100
commitd5c79975ea13bfc061d08cc123ffc25fb589e3ba (patch)
treef63d13dcaa39d303b166e1d10a3c98aa5fa78bb9
parent1c113fd72df18999de1d6f09fa3790dd1f715506 (diff)
perf: remove stats.json generation in webpack (#10290)
* perf: remove stats.json generation in webpack

* fix code comment
-rw-r--r--config/webpack/production.js7
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
     }),