Skip to content
SPECIFICTION
Get listed

ncc vs Rsbuild

ncc

github.com

Rsbuild

rsbuild.rs

Side by side

FigurenccRsbuild
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Web—Yes
LinuxYes—
Plans published11
Spec score · JavaScript Build Tools8.2 (#5)7.5 (#16)
ConfigurationThe design goals include zero configuration and built-in TypeScript support.It supports zero-configuration project setup and offers a configurable build API.
Purposencc is a CLI that compiles a Node.js module and its dependencies into a single file.Rsbuild is a modern build tool for web applications, powered by Rspack.

Plans

ncc

  • @vercel/nccFree

ncc pricing →

Rsbuild

  • Free and open sourceFree

Rsbuild pricing →

In their own words

ncc

ncc is a free, MIT-licensed command-line tool for compiling a Node.js module and its dependencies into one file. It is distributed through npm as `@vercel/ncc`, with `npm i -g @vercel/ncc` given as the global installation command. The project targets publishing minimal npm packages and sending only relevant application code to serverless environments. Its design goals include zero configuration, built-in TypeScript support, and handling Node.js programs and npm modules. Inputs can include TypeScript, binary addons, and dynamic requires. Build options cover minification, source maps, watched builds, external modules, and ECMAScript target selection. Node.js programs can call ncc programmatically with options for caching, externals, minification, source maps, and asset builds. `.ts` and `.tsx` inputs require a `tsconfig.json`. Module-format behavior includes automatic ES module output for `.mjs` files and `.js` files inside a `type: module` package boundary. Support examples cover Sequelize with MariaDB and `@google-cloud/vision` with `google-proto-files`. Dynamically loaded assets that static analysis cannot identify may not work correctly. It runs on Linux.

Visit github.com

Rsbuild

Rsbuild is a web-based build tool for web applications, powered by Rspack. It can create projects with no required configuration or through a configurable build API. Rspack handles bundling by default, while SWC transforms and minifies JavaScript and TypeScript. Framework plugins cover React, Vue, Svelte, Solid, and Preact. Development mode enables hot module replacement by default, and production builds enable JavaScript and CSS minification. Optional styling integrations include Tailwind CSS, UnoCSS, Sass, Less, and Stylus. Rsbuild works with most webpack plugins and all Rspack plugins, and provides first-class Module Federation support for micro-frontend applications. It also lists code splitting, tree shaking, source maps, TypeScript support, and a plugin API. The software is free and open source under the MIT license, runs on the web, and provides a StackBlitz example and Discord community. Rsbuild v2 requires Node.js 20.19+ or 22.12+; v1 requires Node.js 18.12.0 or higher.

Visit rsbuild.rs