DEV Community

Discussion on: React+Typescript App with ESBuild

Collapse
lukeshiru profile image
LUKESHIRU • Edited on

One other thing that adds to the speed factor of esbuild is that it doesn't actually compiles TS, it only removes the types like babel does. If you're planning on making a library that includes types to be used by your consummers, you need to consider that you still need to generate the types using tsc.

Collapse
mrinasugosh profile image
Mrinalini Sugosh (Mrina) Author

Yess +1! Great point and absolutely recommend folks to look into the nits of ESBuild some great yet simple tech backing it up