Compile a Node.js project into a single file. Supports TypeScript, binary addons, dynamic requires.
by vercel3 of 6 standards met
Follows on from https://github.com/vercel/ncc/issues/1297 What would you like? Provide with tested compatibility against Node.js 24 for Windows Why is this needed? In the GitHub documentation Creating a JavaScript action, section Commit, tag, and push your action, it says: Checking in your directory can cause problems. As an alternative, you can use tools such as rollup.js or @vercel/ncc to combine your code and dependencies into one file for distribution. GitHub Actions runs.using for JavaScript actions provides for: for Node.js v20. for Node.js v24. GitHub has deprecated the use of and plans to force runners to use beginning on Mar 4, 2026 - see Deprecation of Node 20 on GitHub Actions runners. Currently .github/workflows/ci.yml tests against Node.js 20 and 22. It does not test against other supported Node.js release lines Node.js 24 and 25. Other Extending the .github/workflows/ci.yml workflow to test Node.js 24 and 24 and running it shows: with failures testing against for Node.js 24, and failures in all operating systems (, and ) for Node.js 25. Failures were related to / compatibility. Logs Node.js 24 & Windows Running .github/workflows/ci.yml, extended to test against Node.js 24 results in the following failure logs in the job "Build Test Binary" on .
What would you like? Provide with tested compatibility against Node.js 24 for macOS, Ubuntu and Windows Why is this needed? In the GitHub documentation Creating a JavaScript action, section Commit, tag, and push your action, it says: Checking in your directory can cause problems. As an alternative, you can use tools such as rollup.js or @vercel/ncc to combine your code and dependencies into one file for distribution. GitHub Actions runs.using for JavaScript actions provides for: for Node.js v20. for Node.js v24. Currently .github/workflows/ci.yml tests against Node.js 18 and 20. It does not test against other supported Node.js release lines Node.js 22, 24 and 25. Other Attempting to simply update .github/workflows/ci.yml to cover Node.js 22 and 24 failed when testing against . Failures were related to compatibility.
Repository: vercel/ncc. Description: Compile a Node.js project into a single file. Supports TypeScript, binary addons, dynamic requires. Stars: 9782, Forks: 311. Primary language: JavaScript. Languages: JavaScript (98.4%), TypeScript (0.8%), Shell (0.4%), C++ (0.3%), Python (0.1%). License: MIT. Homepage: https://npmjs.com/@vercel/ncc Latest release: 0.38.4 (5mo ago). Open PRs: 24, open issues: 198. Last activity: 2w ago. Community health: 75%. Top contributors: guybedford, dependabot[bot], rauchg, styfle, timneutkens, sokra, huozhi, ijjk, TooTallNate, igorklopov and others.
JavaScript
Last 12 weeks · 1 commit
Summary Port ncc's internal bundling pipeline from webpack to rspack while preserving CLI behavior. Keep resolver fallback, native asset relocation, and TypeScript loader behavior aligned with existing edge cases. Update unit output fixtures for rspack-generated artifacts and refresh dependencies/lockfile changes. Testing Updated fixture outputs across affected unit cases. CI on this PR validates behavior against the existing test suite.