ncc
Compile a Node.js application into a single file. Supports TypeScript, binary addons, and dynamic requires. More information: https://github.com/vercel/ncc#usage.
- Bundle a Node.js application:
ncc build
- Bundle and minify a Node.js application:
ncc build
- Bundle and minify a Node.js application and generate source maps:
ncc build
- Automatically recompile on changes to source files:
ncc build
- Bundle a Node.js application into a temporary directory and run it for testing:
ncc run
- Clean the
ncccache:
ncc clean cache
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
