about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2017-05-28 23:26:16 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-05-28 16:26:16 +0200
commit189a06d2a27808f64497102a08ce93bfb375f14a (patch)
tree6051dba0268ee703fe5faba93841593cabc7e318
parent450441fc118218dcd355380caf8d7d3f66974031 (diff)
Fix Webpack Bundle Analyzer output for Webpacker (#3374)
Webpacker failed to parse output of Webpack when a module requires
non-existent module or has similar errors. This commit fixes the bug.
-rw-r--r--config/webpack/production.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/webpack/production.js b/config/webpack/production.js
index 5f6977936..5e74d7b87 100644
--- a/config/webpack/production.js
+++ b/config/webpack/production.js
@@ -34,6 +34,7 @@ module.exports = merge(sharedConfig, {
       analyzerMode: 'static',
       generateStatsFile: true,
       openAnalyzer: false,
+      logLevel: 'silent', // do not bother Webpacker, who runs with --json and parses stdout
     }),
   ],
 });