From 189a06d2a27808f64497102a08ce93bfb375f14a Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Sun, 28 May 2017 23:26:16 +0900 Subject: [PATCH] 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. --- config/webpack/production.js | 1 + 1 file changed, 1 insertion(+) 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 }), ], });