Since the Vite bump (5.0.12 to 5.4.21, #12655) assets carry their source file,
so the stats plugin started to name them by it. The fonts got new names, and
the page's CSS and HTML were both named after `index.html`, the entry chunk's
name: per-file history on the Bundle size page broke at that commit.
Name an asset by its emitted file without the hash again, as every build
before did.
- `Stats` workflow on master: posts the production build's file sizes (raw, gzip, Brotli; initial load vs. lazy; bytes per source package) and, once staging serves the commit, its page-load and pan/zoom measurements to the Excalidraw+ backend; OSS_STATS_TOKEN lives in the master-only `stats` environment
- `scripts/stats/`: bundle-stats Vite plugin and wrapper config (`yarn stats:bundle`), the Playwright runner (`yarn stats:perf`) and the poster
- `yarn stats:compare`: builds the checkout, serves it with `vite preview` and compares it with staging (alternating loads, Mann-Whitney U test); prints a table or writes CSV with `--out`
- `excalidraw:app-start` mark in the app's entry, ending the runs' "HTML + JS" phase
- `playwright` 1.58.2 dev dependency (installs no browsers by itself)
Claude Opus 5.5 (xhigh)