pkgroll vs Rolldown
pkgroll
github.comRolldown
rolldown.rsSide by side
| Figure | pkgroll | Rolldown |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | Yes | Yes |
| Android | — | Yes |
| API | — | Yes |
| Plans published | 0 | 1 |
| Spec score · JavaScript Build Tools | 7.1 (#25) | 8.7 (#1) |
| Intended users | The README describes pkgroll as a bundler for Node.js package maintainers who want to publish ESM and CommonJS outputs. | The maker recommends using Rolldown through Vite for most applications and points library authors to tsdown. |
| Purpose | pkgroll is a zero-config JavaScript package bundler powered by Rollup that builds from entry points defined in package.json. | Rolldown is a Rust-based bundler for JavaScript with a Rollup-compatible API and esbuild feature parity. |
Plans
In their own words
Rolldown
Rolldown is a free, open-source JavaScript bundler written in Rust and designed as the unified bundler powering Vite 8+. Its Rollup-compatible plugin API can reuse most existing Rollup plugins. Built-in capabilities include TypeScript and JSX transforms, syntax lowering, module resolution, ESM and CommonJS interoperability, define, inject, and minification. It can handle mixed ESM and CommonJS module graphs and supports configurable manual code splitting. Install commands are provided for npm, pnpm, yarn, bun, and vp. Prebuilt binaries are listed for Linux, Windows, Apple platforms, Android, and other targets; where none is distributed, a Wasm build or building from source are options. The guide recommends using Rolldown through Vite for most applications and points library authors to tsdown. Module types are experimental, and the JavaScript build() API may change in patch releases. The troubleshooting guide says Windows file-system access can slow builds, particularly when transforms run without plugins. An online REPL is linked, along with GitHub, Discord, and contribution resources. VoidZero Inc. holds the copyrights, funds development, and directs the project; it states Rolldown remains open source and MIT-licensed.