diff --git a/ui/scripts/bundle-size.mjs b/ui/scripts/bundle-size.mjs index f10beb8..5f33ae8 100644 --- a/ui/scripts/bundle-size.mjs +++ b/ui/scripts/bundle-size.mjs @@ -32,9 +32,12 @@ const DIST = 'dist'; // storefront logic and the catalog codec load with the always-mounted settings hub (its i18n lands // in the shared chunk) — and to 125 for the payment intake rails: the wallet order flow, the // Telegram Stars openInvoice / VK order-box launch and the per-button in-flight state ride the same -// always-loaded Wallet screen. The heavy parts — the dict loader, the move generator and the preload -// orchestration — still stay in lazy chunks. Scoped CSS lands in the CSS chunk, not this JS budget. -const BUDGET = { app: 125, shared: 31, landing: 5 }; +// always-loaded Wallet screen, then to 126 for the in-game board-feedback UX — the staged-play +// highlight geometry (lib/formed.ts), the on-board score badge and the bag / turn-strip / board-zoom +// wiring live in the always-loaded Game / Board / Rack screens. The heavy parts — the dict loader, +// the move generator and the preload orchestration — still stay in lazy chunks. Scoped CSS lands in +// the CSS chunk, not this JS budget. +const BUDGET = { app: 126, shared: 31, landing: 5 }; // gzipped returns the gzipped byte size of a built asset, or 0 when the reference is not a // local file (e.g. the Telegram SDK loaded from a CDN) or is missing.