webpack: add bundle analyzer
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/877/head
parent
c1b2984e22
commit
eccc125991
|
@ -68,4 +68,7 @@ webpackConfig.plugins.push(
|
||||||
// Enable caching
|
// Enable caching
|
||||||
webpackConfig.cache = true;
|
webpackConfig.cache = true;
|
||||||
|
|
||||||
|
// Bundle analyzer (npm i --no-save webpack-bundle-analyzer)
|
||||||
|
// webpackConfig.plugins.push(new (require('webpack-bundle-analyzer').BundleAnalyzerPlugin)());
|
||||||
|
|
||||||
module.exports = webpackConfig;
|
module.exports = webpackConfig;
|
||||||
|
|
Loading…
Reference in New Issue