https://github.com/sxzz/tsdown
An even faster bundler powered by Rolldown.
https://github.com/sxzz/tsdown
library oxc rolldown typescript
Last synced: 11 days ago
JSON representation
An even faster bundler powered by Rolldown.
- Host: GitHub
- URL: https://github.com/sxzz/tsdown
- Owner: sxzz
- License: mit
- Created: 2024-03-08T14:25:35.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-05T11:25:26.000Z (20 days ago)
- Last Synced: 2025-04-06T23:04:08.935Z (18 days ago)
- Topics: library, oxc, rolldown, typescript
- Language: TypeScript
- Homepage: https://jsr.io/@sxzz/tsdown
- Size: 1.4 MB
- Stars: 438
- Watchers: 2
- Forks: 10
- Open Issues: 5
-
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/sxzz/tsdown/actions/workflows/unit-test.yml) [](https://jsr.io/@sxzz/tsdown)
β‘οΈ An even faster bundler powered by [Rolldown](https://github.com/rolldown/rolldown).
## Features
- π **Blazing fast**: Build and generate `.d.ts` powered by Oxc and Rolldown, incredibly fast!
- β»οΈ **Powerful ecosystem**: Support Rollup / Rolldown / unplugin plugins, and some Vite plugins.
- π¦ **Out-of-box**: Support reusing configurations from Vite or Vitest.
- π **Seamless migration**: Compatible with tsup's main options and features, ensuring a smooth transition.## Install
```bash
npm i tsdown
```## Configuration
```ts
// tsdown.config.ts
import { defineConfig } from 'tsdown'export default defineConfig({
entry: ['./src'],
// ...
})
```## Migrate from tsup
```bash
npx tsdown migrate
```Please make sure to commit your changes before migrating.
## Credits
This project also partially contains code derived or copied from [tsup](https://github.com/egoist/tsup).
- [tsup](https://github.com/egoist/tsup)
- [pkgroll](https://github.com/privatenumber/pkgroll)## Sponsors
## License
[MIT](./LICENSE) License Β© 2024-PRESENT [δΈε²ζΊε Kevin Deng](https://github.com/sxzz)