zachleat/bundlewhys
Bundlewhys
A static site reporting browser bundle sizes of front-end npm packages.
- Type any package on the home page to bundle it in the browser (esbuild-wasm, straight from the npm registry).
npm run measurerecords the sample packages inpackages.json(or only those passed as arguments) tosrc/_data/sizes.jsonusing the same code inlib/measure.js.npm startserves the site locally;npm run buildwrites it to_site/.