EVERYTHING XIAOMI
Get listed
Side by side

ncc vs Rolldown

ncc

6.2#9 in javascript build toolsFree plan
Free planLinux
Visit
Rolldown logo

Rolldown

7.2#1 in javascript build toolsFree plan
Free planAndroidWebAPILinux
Visit

What both publish

FactnccRolldown
LicenseThe repository lists an MIT license.Rolldown is free and open source; VoidZero states that it remains open source and MIT-licensed.
Module formatsWhen building an `.mjs` file or a `.js` file inside a `type: module` package boundary, ncc automatically creates ES module output.Rolldown supports mixed ESM and CommonJS module graphs without requiring @rollup/plugin-commonjs.
Purposencc is a CLI that compiles a Node.js module and its dependencies into a single file.Rolldown is a Rust-based bundler for JavaScript with a Rollup-compatible API and esbuild feature parity.

ncc plans

  • @vercel/nccFree

Rolldown plans

  • Free & open sourceFree

Pick ncc if…

ncc suits Node.js developers who want to package a module and its dependencies into one file, including for npm publishing or serverless environments. It also offers a programmatic interface for Node.js projects.

Pick Rolldown if…

Rolldown suits JavaScript developers looking for a bundler with TypeScript and JSX transforms and a Rollup-compatible plugin API. Its guidance points most application developers toward using it through Vite and library authors toward tsdown.

Charts they share