5 ms·
I think esbuild is simpler than ts-node. We simply compile everything from TS to JS with esbuild every time we launch node (it takes less than 0.1 seconds)
by nicoburns 4y ago
I think esbuild is simpler than ts-node. We simply compile everything from TS to JS with esbuild every time we launch node (it takes less than 0.1 seconds)
- lucasyvas 4y agoIt very well could be - I suppose that's more evidence to the point that working with Node is very doable these days even without built-in support for many tools.
- toastercat 4y agoSee: https://github.com/lukeed/tsm https://github.com/lukeed/tsm which is built on esbuild.
- nicoburns 4y agoAh that looks cool. I'll definitely check that out at some point. Although our current node <-> esbuild integration is a ~6 line bash script, so there's not much pressure to change to another solution.