ncc
Compile a Node.js application into a single file. tldr-pages
On several platforms
Several platforms
Compile a Node.js application into a single file. Supports TypeScript, binary addons, and dynamic requires.
Bundle a Node.js application
ncc build path/to/file.jsIdentifyBundle and minify a Node.js application
ncc build --minify path/to/file.jsIdentifyBundle and minify a Node.js application and generate source maps
ncc build --source-map path/to/file.jsIdentifyAutomatically recompile on changes to source files
ncc build --watch path/to/file.jsIdentifyBundle a Node.js application into a temporary directory and run it for testing
ncc run path/to/file.jsIdentifyClean the ncc cache
ncc clean cacheIdentify