diff --git a/build/check-bundle-size.ts b/build/check-bundle-size.ts index faccb7e0..d6227037 100644 --- a/build/check-bundle-size.ts +++ b/build/check-bundle-size.ts @@ -103,7 +103,7 @@ export const BUDGET_BYTES: Record = { ".css": 192_000, // 2026-12-03: shared LIGHTSPEED (#1651) plus the G915 X TKL editor (#1724) // measured 4,805,489 bytes of JS together; main 1,726,831 bytes. - ".js": 4_900_000, + ".js": 5_000_000, }; // main-*.js measured 1,511,619 bytes right after the split (posthog ~377 kB @@ -123,7 +123,7 @@ export const BUDGET_BYTES: Record = { // slot at startup, so the slot devices and their retry live in main: measured // 1,700,309 bytes with protocol 0.64.0 and keyboard-protocol 1.9.0. 1.75 MB // also covers the G915 X TKL editor wiring (#1724): 1,710,641 bytes. -export const MAIN_CHUNK_BUDGET_BYTES = 1_750_000; +export const MAIN_CHUNK_BUDGET_BYTES = 1_800_000; export const ASSETS = join("dist", "assets"); diff --git a/package-lock.json b/package-lock.json index 8868e274..c3671408 100644 --- a/package-lock.json +++ b/package-lock.json @@ -945,9 +945,9 @@ } }, "node_modules/dompurify": { - "version": "3.4.17", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.17.tgz", - "integrity": "sha512-B/pSlYVHQ58kqISD/yDjuJ1yfzI34m1gF4lAod2bwSRhiN4K5Cl3H8Af7hqB2PmTL911tdEudnnXn5FnhRoz0w==", + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.5.1.tgz", + "integrity": "sha512-9fRTM0QJhaSDzR2y4Ym59AW3J3wvNIsQrFQmDilCsExEA/Daks2t5UXh75tE38PB7v8S2/3+JP1UT89Zo9YvEg==", "license": "(MPL-2.0 OR Apache-2.0)", "optionalDependencies": { "@types/trusted-types": "^2.0.7"