diff options
author | hellekin <hellekin@cepheide.org> | 2021-01-23 15:43:57 +0100 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2021-01-23 15:43:57 +0100 |
commit | 1bf6b13de7446fe6692fd1a520ca67bb25edbe58 (patch) | |
tree | 3258bd2c37f5351cae824fb4a7cf414b4b3f3686 | |
parent | eff656fdaf55a9c19ec54dbb9000039428952026 (diff) | |
download | incommon-map-1bf6b13de7446fe6692fd1a520ca67bb25edbe58.tar.gz |
Comment out webpack-bundle-analyzer
Just keep it around but do not use it.
It requires `yarn add webpack-bundle-analyzer -D` to install.
Moving `* /` to `*/` will disable the JavaScript comment.
-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() |