From 741c5aad46300d887fa357a435cc2cdbe96bac42 Mon Sep 17 00:00:00 2001 From: snekxs <26660858+snekxs@users.noreply.github.com> Date: Mon, 12 Oct 2026 00:15:43 -0600 Subject: [PATCH] chore(budget): raise JS bundle budget to 2,474 kB for protocol 0.40.1 The XVI-new button-slot fix plus the real DPI stage table and per-stage/active setters push the measured aggregate to 2,472.0 kB, under a kilobyte over the old 2,472 kB budget. Verified locally with @openmouse/protocol@0.40.1. --- build/check-bundle-size.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build/check-bundle-size.ts b/build/check-bundle-size.ts index b9a18ea1..0e21ccb5 100644 --- a/build/check-bundle-size.ts +++ b/build/check-bundle-size.ts @@ -210,7 +210,11 @@ const BUDGET_BYTES: Record = { // the Bridge empty-enumeration diagnostic. The measured aggregate is // 2,470.9 kB, 0.9 kB over the old 2,470 kB budget, leaving ~1 kB of // headroom — the next driver will need a real diet or a bigger bump. - ".js": 2_472_000, + // Raised to 2,474 kB for the @openmouse/protocol 0.40.1 bump: XVI-new + // button-slot fix plus the real DPI stage table and per-stage/active + // setters. The measured aggregate is 2,472.0 kB, under a kilobyte over + // the old 2,472 kB budget. + ".js": 2_474_000, }; const ASSETS = join("dist", "assets");