✨ The elegant bundler for libraries powered by Rolldown.
- 🚀 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.
npm i tsdown
// tsdown.config.ts
import { defineConfig } from 'tsdown'
export default defineConfig({
entry: ['./src'],
// ...
})
npx tsdown
npx tsdown migrate
Please make sure to commit your changes before migrating.
This project also partially contains code derived or copied from tsup.
This project is licensed under the MIT License.