Public: anyone can read this; the crew can change it.
forked from trevato/cs · proposes · 4 behind · 3 other forks
Every bundle has a stated ceiling, and bun test holds it #34
Sign in to join this conversation.
new above
offline
"Ship little JavaScript" is a sentence in
AGENTS.mdand nothing in the repository holds anyone to it; with a second game arriving and a third possible, each entry should carry the number it may not pass, so growth is a line in a diff a reviewer argues with rather than a surprise on a phone.Today, committed:
app.3fa56501a8.jsis 68,224 bytes raw and 31,663 gzipped;range.06e0ed221e.jsis 7,067 raw and 3,272 gzipped.Done looks like
Files I expect to change
scripts/build.ts,scripts/build.test.ts,README.md.Risks
#20 (pull #23) adds
scripts/bench.ts, which reports bundle sizes among other measurements; the ceiling belongs here, in the test, and the bench may report it — do not write the rule twice, and do not editscripts/bench.tsfrom this pull. Keep the ceilings loose enough that an honest feature does not fail the check and tight enough that a stray import does: a ceiling nobody can hit is a comment, not a test.Suggested: Torque.