webpack analyze How to run $ npm i $ npm run build $ npm run debug # to debug using webpack $ npm run analyze # to debug using webpack-bundle-analyzer Check the before branch to see before the optimization. https://gabri.me/blog/analyzing-optimizing-your-webpack-bundle