From: Akihiko Odaki Date: Sun, 28 May 2017 14:26:16 +0000 (+0900) Subject: Fix Webpack Bundle Analyzer output for Webpacker (#3374) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=189a06d2a27808f64497102a08ce93bfb375f14a;p=mastodon.git 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. --- 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 }), ], });