Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ce990a0c03 |
@@ -26,11 +26,10 @@ const DIST = 'dist';
|
|||||||
// countdown toast live in the always-loaded game screen (Game.svelte) — and to 120 for the offline
|
// countdown toast live in the always-loaded game screen (Game.svelte) — and to 120 for the offline
|
||||||
// pass-and-play (hotseat) mode: the on-screen PIN pad, the creation roster and the in-game host menu
|
// pass-and-play (hotseat) mode: the on-screen PIN pad, the creation roster and the in-game host menu
|
||||||
// live in the always-loaded New Game / Game / Lobby screens (the offline engine and the tiny PIN
|
// live in the always-loaded New Game / Game / Lobby screens (the offline engine and the tiny PIN
|
||||||
// hashing stay in lazy chunks / are negligible), then to 123 for the Wallet section — its screen,
|
// hashing stay in lazy chunks / are negligible). The heavy parts — the dict loader, the move
|
||||||
// storefront logic and the catalog codec load with the always-mounted settings hub (its i18n lands
|
// generator and the preload orchestration — still stay in lazy chunks. Scoped CSS lands in the CSS
|
||||||
// in the shared chunk). The heavy parts — the dict loader, the move generator and the preload
|
// chunk, not this JS budget.
|
||||||
// orchestration — still stay in lazy chunks. Scoped CSS lands in the CSS chunk, not this JS budget.
|
const BUDGET = { app: 120, shared: 30, landing: 5 };
|
||||||
const BUDGET = { app: 123, shared: 30, landing: 5 };
|
|
||||||
|
|
||||||
// gzipped returns the gzipped byte size of a built asset, or 0 when the reference is not a
|
// 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.
|
// local file (e.g. the Telegram SDK loaded from a CDN) or is missing.
|
||||||
|
|||||||
Reference in New Issue
Block a user