diff options
-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 7c82317..d06e513 100644 --- a/config/webpack/development.js +++ b/config/webpack/development.js @@ -2,7 +2,10 @@ process.env.NODE_ENV = process.env.NODE_ENV || 'development' const environment = require('./environment') +/** + * yarn add webpack-bundle-analyzer * / const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin; environment.plugins.append('BundleAnalyzerPlugin', new BundleAnalyzerPlugin()) +/**/ module.exports = environment.toWebpackConfig() |