The elegant bundler for libraries powered by Rolldown
tsdown
[![Open on npmx][npmx-version-src]][npmx-href] [![npm downloads][npmx-downloads-src]][npmx-href] [![Unit Test][unit-test-src]][unit-test-href] [![tsdown Starter StackBlitz][tsdown-starter-stackblitz-src]][tsdown-starter-stackblitz-href]
โจ The elegant bundler for libraries powered by Rolldown.
Features
- ๐ Blazing fast: Build and generate declaration files powered by Oxc and Rolldown, incredibly fast!
- โป๏ธ Powerful ecosystem: Support Rollup, Rolldown, unplugin plugins, and some Vite plugins.
- ๏ธ๐ ๏ธ Easy to use: tsdown preconfigures everything you need to get started, so you can focus on writing code.
- ๐ Seamless migration: Compatible with tsup's main options and features, ensuring a smooth transition.
Documentation
For full documentation, visit tsdown.dev.
Install
npm i -D tsdown
Usage
npx tsdown
Sponsors
Licenses
This project is licensed under the MIT License.
[npmx-version-src]: https://npmx.dev/api/registry/badge/version/tsdown [npmx-downloads-src]: https://npmx.dev/api/registry/badge/downloads-month/tsdown [npmx-href]: https://npmx.dev/tsdown [unit-test-src]: https://github.com/rolldown/tsdown/actions/workflows/unit-test.yml/badge.svg [unit-test-href]: https://github.com/rolldown/tsdown/actions/workflows/unit-test.yml [tsdown-starter-stackblitz-src]: https://developer.stackblitz.com/img/openinstackblitz_small.svg [tsdown-starter-stackblitz-href]: https://stackblitz.com/github/rolldown/tsdown-starter-stackblitz