1.0.2 • Published 1 year ago
@tehshrike/ts-run v1.0.2
ts-run
Build Typescript with esbuild + execute with node.
npm i ts-run
Sourcemaps won't work until nodejs/node/46454 is fixed, but otherwise it's a pretty handy way to execute TypeScript.
How do you use it
From the command-line, or in npm run scripts.
The first argument should be the entry point to be bundled+executed.
All following arguments are passed as arguments to the executed script.