How We Scaled tree-shaking to a Million Users — Guides article on tree-shaking

How We Scaled tree-shaking to a Million Users

What broke, what we measured, and the architectural change that fixed it. Covers the case most tutorials leave out. (2)

Accessibility regressions are invisible in code review and obvious to users. That asymmetry is why automated checks should run in CI, not in a quarterly audit.

Everything here assumes a single document and a single user. Both assumptions break eventually, and the resulting failures are interesting because they are the same shape as the original problem, only larger.

Performance work is mostly the discipline of removing work. The hard part is not the profile — it is convincing everyone that the problem is worth solving before you have solved it.