Rolldown
Build / code quality tool · Free
A Rust-based JavaScript and TypeScript bundler with a Rollup-compatible API: it combines modules and optimizes web project output.
Also known as: rolldown/rolldown; rolldown; rust-bundler; typescript-bundler

What you can use for free
Code and local use under MIT.
Paid features and costs
Computing resources, self-hosting, and external services are paid for separately if used.
Access and limitations
Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.
Use cases
- Bundle a JavaScript or TypeScript project
- Run bundling and check import resolution and generated chunks
Example workflow
A possible workflow; this is not a report of hands-on testing.
Bundle a JavaScript or TypeScript project.
Before you start
- A repository, package manifests, and configuration.
- A compatible runtime and the target build command.
Steps
- Define entrypoints, output, and required Rollup-compatible plugins.
- Run bundling and check import resolution and generated chunks.
- Add the workflow to scripts or CI with a clear report.
Check your result
- A clean copy of the project reproduces the result.
- Errors produce a nonzero exit code and clear diagnostics.
Choosing Rolldown
Bundle a JavaScript or TypeScript project
Choose this when
- Bundle a JavaScript or TypeScript project
- Run bundling and check import resolution and generated chunks
Requirements
- Install rolldown as a development dependency and choose a binary build for your OS/architecture.
Things to consider
- Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
- Terms of use: MIT for the code; dependencies have separate licenses.
- Platform availability differs by tier; some builds are experimental, and this is not a promise of full compatibility with every Rollup plugin.
Frequently asked questions
What can you use for free in Rolldown?
Code and local use under MIT.
What additional costs might arise with Rolldown?
Computing resources, self-hosting, and external services are paid for separately if used.
What terms of use matter for Rolldown?
MIT for the code; dependencies have separate licenses.
How do you get started with Rolldown?
Define entrypoints, output, and required Rollup-compatible plugins. Run bundling and check import resolution and generated chunks. Add the workflow to scripts or CI with a clear report.
What if a platform's native binary is unavailable?
The documentation suggests a Wasm/WASI package or a source build. For Wasm, specify CPU wasm32 and OS wasip1-threads; a fallback is available when a native binary is absent.
Which channel should I choose for an ordinary project?
Getting-started identifies latest as the 1.x branch; pkg.pr.new publishes main builds by SHA. Distinguish main test builds from ordinary npm releases.
License
MIT for the code; dependencies have separate licenses.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsTechnologies and topics
- Rolldown
- build
- Development