webpack: add bundle analyzer

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/877/head
Varun Patil 2023-10-14 19:43:21 -07:00
parent c1b2984e22
commit eccc125991
1 changed files with 3 additions and 0 deletions

View File

@ -68,4 +68,7 @@ webpackConfig.plugins.push(
// Enable caching
webpackConfig.cache = true;
// Bundle analyzer (npm i --no-save webpack-bundle-analyzer)
// webpackConfig.plugins.push(new (require('webpack-bundle-analyzer').BundleAnalyzerPlugin)());
module.exports = webpackConfig;