ts-node
ts-node copied to clipboard
A new ESM `transpile-only` equivalent of 'ts-node-transpile-only'
Related to #1101 & #1007 - it would be nice to have ts-node-esm-transpile-only for scripting purposes.
(this might have already been asked somewhere but I wasn't able to find it so either way I think it's useful to have a dedicated ticket regardless of the outcome)
Are you able to use the -S flag to /usr/bin/env? Nowadays, most Unix environments support it.
https://typestrong.org/ts-node/docs/usage/#shebang
Unfortunately not, we've still got a few systems that are using older versions of env 🙁
That's a bummer. I'm leaning towards making ESM enabled by default in v11, so then ts-node-transpile-only would do the trick.