diff options
Diffstat (limited to 'config/webpack')
-rw-r--r-- | config/webpack/development.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/webpack/development.js b/config/webpack/development.js index c5edff9..7c82317 100644 --- a/config/webpack/development.js +++ b/config/webpack/development.js @@ -2,4 +2,7 @@ process.env.NODE_ENV = process.env.NODE_ENV || 'development' const environment = require('./environment') +const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin; +environment.plugins.append('BundleAnalyzerPlugin', new BundleAnalyzerPlugin()) + module.exports = environment.toWebpackConfig() |