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

shipped production is serving it opened this has it

Landed in pull #39 · run

opened this

"Ship little JavaScript" is a sentence in AGENTS.md and 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.js is 68,224 bytes raw and 31,663 gzipped; range.06e0ed221e.js is 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 edit scripts/bench.ts from 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.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs