cd
to your webpack project.- Run
node_modules/webpack/bin/webpack.js --profile --json > stats.json
. - Upload stats.json to http://webpack.github.io/analyse/ to see which modules depend on which other modules.
- Upload stats.json to https://chrisbateman.github.io/webpack-visualizer/ or https://alexkuz.github.io/webpack-chart/ to see how big each module is.
Created
January 16, 2017 11:44
-
-
Save JamieMason/402ab397a214f20413289daf4760e2b9 to your computer and use it in GitHub Desktop.
Finding large nested dependencies in Webpack bundles
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment