Esbuild is awesome! I tried it on my latest project and the speed has blown me away, even though it doesn't replace the TypeScript compiler for my usecase.
Its two biggest shortcomings are:
1. It can't compile const enums (TypeScript feature)
2. It can't compile down to ES5 (with some exceptions)
So I still need to run TypeScript + esbuild side-by-side. TypeScript compiles to ES5 and esbuild bundles the ES5 files.
Anyway, it is a massive improvement over TypeScript + webpack.
Its two biggest shortcomings are:
1. It can't compile const enums (TypeScript feature)
2. It can't compile down to ES5 (with some exceptions)
So I still need to run TypeScript + esbuild side-by-side. TypeScript compiles to ES5 and esbuild bundles the ES5 files.
Anyway, it is a massive improvement over TypeScript + webpack.