ncc

Compile a Node.js application into a single file. Supports TypeScript, binary addons and dynamic requires. More information: https://github.com/vercel/ncc.

ncc build path/to/file.js

ncc build --minify path/to/file.js

ncc build --source-map path/to/file.js

ncc build --watch path/to/file.js

ncc run path/to/file.js

ncc clean cache