Browse Source

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.
closed-social-v3
Akihiko Odaki 7 years ago
committed by Eugen Rochko
parent
commit
189a06d2a2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      config/webpack/production.js

+ 1
- 0
config/webpack/production.js View File

@ -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
}),
],
});

Loading…
Cancel
Save