https://github.com/rolldown/tsdown
The elegant bundler for libraries powered by Rolldown
https://github.com/rolldown/tsdown
bundler library oxc rolldown typescript
Last synced: 10 days ago
JSON representation
The elegant bundler for libraries powered by Rolldown
- Host: GitHub
- URL: https://github.com/rolldown/tsdown
- Owner: rolldown
- License: mit
- Created: 2024-03-08T14:25:35.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-23T00:07:50.000Z (10 days ago)
- Last Synced: 2025-04-23T01:19:05.999Z (10 days ago)
- Topics: bundler, library, oxc, rolldown, typescript
- Language: TypeScript
- Homepage: https://tsdown.dev
- Size: 2.99 MB
- Stars: 914
- Watchers: 4
- Forks: 32
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# tsdown [](https://npmjs.com/package/tsdown) [](https://github.com/rolldown/tsdown/actions/workflows/tests.yml) [](https://jsr.io/@sxzz/tsdown)
✨ The elegant bundler for libraries powered by [Rolldown](https://github.com/rolldown/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](https://tsdown.dev).
## Install
```bash
npm i -D tsdown
```## Usage
```bash
npx tsdown
```## Migrate from tsup
```bash
npx tsdown migrate
```Please make sure to commit your changes before migrating. For more details, see the [Migration Guide](https://tsdown.dev/guide/migrate-from-tsup).
## Credits
This project also partially contains code derived or copied from the following projects:
- [tsup](https://github.com/egoist/tsup)
- [pkgroll](https://github.com/privatenumber/pkgroll)## Sponsors
## Licenses
This project is licensed under the [MIT License](LICENSE).