Skip to content

Commit 60362fe

Browse files
committed
test(bundle-size): bump full.min.css budget 22 → 22.1kB gzip
full.min.css was already at the 22kB edge; the .sf-bento--row-compact/ --row-tall rename (f90961d) added just enough bytes to tip it over in CI (22.0029kB measured there vs 21.99kB locally — cross-environment gzip variance at the margin). Small, documented headroom bump, consistent with how this budget has been adjusted before.
1 parent f90961d commit 60362fe

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tests/bundle-size.spec.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ const DIST = path.resolve(import.meta.dirname, '..', 'dist');
1212
// gzip kB budgets per minified bundle.
1313
// Updated after adding core/tokens.color-fallbacks.css (Tier-1 sRGB fallbacks),
1414
// which adds ~1.5–2kB gzip to each bundle containing color tokens.
15+
// full.min.css bumped 22 → 22.1 after renaming .sf-bento--compact/--tall to
16+
// --row-compact/--row-tall (disambiguates from the child modifier
17+
// .sf-bento-tall) — full.min.css was already at the 22kB edge, and the few
18+
// extra bytes tipped it over.
1519
const BUDGETS = {
1620
'slashed.optimal.min.css': 22,
17-
'slashed.full.min.css': 22,
21+
'slashed.full.min.css': 22.1,
1822
};
1923

2024
for (const [file, budgetKb] of Object.entries(BUDGETS)) {

0 commit comments

Comments
 (0)