Visualize your Webpack bundle
The original idea comes from [chrisbateman/webpack-visualizer]. Yet, instead of using D3.js, this one is implemented with G2 [antvis/g2]
$ webpack --json > stats.json
If you're customizing your stats output or using webpack-stats-plugin, be sure to set
chunkModules
to
true
(see
here
for an example).