about summary refs log tree commit diff
path: root/config/webpack
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack')
-rw-r--r--config/webpack/production.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/webpack/production.js b/config/webpack/production.js
index 5e74d7b87..c93dd55e3 100644
--- a/config/webpack/production.js
+++ b/config/webpack/production.js
@@ -33,6 +33,10 @@ module.exports = merge(sharedConfig, {
     new BundleAnalyzerPlugin({ // generates report.html and stats.json
       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
     }),