Skip to content

Build Typescript with esbuild + execute with node

Notifications You must be signed in to change notification settings

TehShrike/ts-run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ts-run

Build Typescript with esbuild + execute with node.

npm i @tehshrike/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.

About

Build Typescript with esbuild + execute with node

Resources

Stars

Watchers

Forks

Packages

No packages published