Webpack stats analyzer
Find which packages and modules take up the most space in a webpack build.
Webpack stats analyzer
Generate a stats.json from webpack (`webpack --json > stats.json`, or with `stats: { modules: true }` in your config) and paste it here to see exactly which packages and modules are inflating your bundle. This is the fastest way to answer "why is my build so big" without installing a bundle-analyzer plugin or rebuilding with special flags — the report reads the JSON you already have.
Group the report by node_modules package to see which dependency costs the most, by folder to see which part of your own source tree is heaviest, or leave it ungrouped to inspect individual modules one by one. The rows-to-show option caps a long report to the biggest offenders; percent share puts each row's size in context against the total; and if your stats.json carries a compressed-size field per module (gzipSize or sizeGzip), turning on the compressed-size column shows both numbers side by side. Filtering by an entry point or chunk name narrows everything to one bundle, which is useful once an app has more than one output file.
The tool also flags packages that show up at more than one node_modules install path — a common sign that two dependencies pin incompatible versions of the same library and webpack ends up shipping both copies. Those rows are marked in the output so they're easy to spot even in a long report. Choose table output for a readable report or CSV for pasting into a spreadsheet when you're tracking bundle size over time.
Everything runs in your browser: the stats.json is parsed and analyzed locally and is never uploaded anywhere, so it's safe to use with a proprietary codebase. Copy the result, download it as a .txt file, or send it straight to another tool's input to keep working.