SYSTEM Cited by 1 source
esbuild¶
esbuild is an extremely fast JavaScript/TS
bundler written in Go by Evan Wallace (former Figma CTO, also author
of systems/skew). Benchmark-competitive with earlier bundlers by
10–100×. Emits .map files automatically (the ts-to-js.map side of a
composed source-map pipeline in transpiler-driven migrations).
Two features referenced in the wiki's migration literature:
defines: compile-time constant substitution that, paired with dead code elimination, approximates language-level conditional compilation at the bundler tier. Used by Figma as the TS-era replacement for Skew'sif BUILD == "TEST"top-level conditional — branches with a define-matched predicate are stripped post-type-check.- Source-map emission: transpiler pipelines use it as the outer map in concepts/source-map-composition.
Evan Wallace cites his Skew experience as a design influence on esbuild.
Seen in¶
- sources/2024-05-03-figma-typescript-migration — bundler underneath
Figma's post-migration TS build;
defines+ dead code elimination cited as the conditional-compilation replacement.