Skip to content

rolldown/tsdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3bbd69f · Apr 19, 2025
Apr 18, 2025
Mar 8, 2024
Apr 17, 2025
Apr 17, 2025
Apr 19, 2025
Apr 19, 2025
Mar 8, 2024
Mar 8, 2024
Mar 8, 2024
Apr 19, 2025
Apr 19, 2025
Mar 8, 2024
Dec 7, 2024
Apr 19, 2025
Apr 19, 2025
Apr 19, 2025
Apr 17, 2025
Dec 10, 2024
Apr 19, 2025

Repository files navigation

tsdown

tsdown npm Unit Test JSR

✨ The elegant bundler for libraries powered by 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

npm i tsdown

Configuration

// tsdown.config.ts
import { defineConfig } from 'tsdown'

export default defineConfig({
  entry: ['./src'],
  // ...
})

Usage

npx tsdown

Migrate from tsup

npx tsdown migrate

Please make sure to commit your changes before migrating.

Credits

This project also partially contains code derived or copied from tsup.

Sponsors

Licenses

This project is licensed under the MIT License.