commit: 189a06d2a27808f64497102a08ce93bfb375f14a
parent: 450441fc118218dcd355380caf8d7d3f66974031
Author: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Date: Sun, 28 May 2017 23:26:16 +0900
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.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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
}),
],
});