Hacker News new | ask | show | jobs
by nicoburns 1366 days 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)
2 comments

See: https://github.com/lukeed/tsm which is built on esbuild.
Ah 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.
It 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.