Tips and tricks
Web Development - How to analyse the bundle size for angular
If you are using angular, you can generate a stats json with this command
ng build your-project-name --configuration production --stats-json
Then, you can do:
webpack-bundle-analyzer -m static dist/out/stats.json