btd/rollup-plugin-visualizer
Treemap of what is in your Rollup/Vite bundle
What
Generates an HTML treemap (or sunburst, network) of what is inside your bundle. Works with Rollup and Vite.
How to use
npm i -D rollup-plugin-visualizerimport { visualizer } from 'rollup-plugin-visualizer';
// in rollup/vite config:
plugins: [visualizer({ open: true })]Build, and stats.html opens.
Reach for it when
your bundle is too big and you need to see why.