vercel / ncc

Compile a Node.js project into a single file. Supports TypeScript, binary addons, dynamic requires.
https://npmjs.com/@vercel/ncc
MIT License
9.27k stars 291 forks source link

feat: allow exclude all external without make a super long external list #962

Open bluelovers opened 2 years ago

styfle commented 2 years ago

How would ncc know what to use for external?

bluelovers commented 2 years ago

dependencies in package.json

styfle commented 2 years ago

Sounds good. How about a new flag like “--external-dependencies” to opt in?