Dev Tools · 1h ago
TypeScript 6.0 `--noEmit` Promises 60-80% Faster CI Builds
TypeScript 6.0's `--noEmit` flag separates type-checking from code generation, allowing parallel builds with faster transpilers like esbuild or swc. This can reduce CI build times by 60-80% while maintaining type safety. The approach eliminates the need for tsc to produce JavaScript output in production pipelines.
Meridian48 take
The advice is sound for application code, but library authors still need tsc for declaration files—a nuance the article glosses over.
Read the full reporting
TypeScript 6.0 `--noEmit` and Type-Only Builds: Why Your CI Pipeline Should Never Call tsc for Output Again →
DEV Community
typescriptci-pipeline