Hacker News new | ask | show | jobs
by desmap 1956 days ago
> I can use ESM everywhere - frontend, backend, buildscripts,

Once you mix commonjs and esm and try to import from one to another, it doesnt work anymore. Since major BE libs are commonjs you'll quickly face this situation. It's not related to ts-node but to ts' core. Besides, I find ts-node not that spectacular, it hides too much moving parts/it's too high level, it might be good for starters but nothing I'd use in production.