Skip to content

sxzz/tsdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5cf991b · Mar 19, 2025
Mar 3, 2025
Mar 8, 2024
Nov 11, 2024
Mar 18, 2025
Mar 19, 2025
Mar 8, 2024
Mar 8, 2024
Mar 8, 2024
Jan 27, 2025
Mar 10, 2025
Mar 8, 2024
Dec 7, 2024
Mar 18, 2025
Mar 19, 2025
Mar 19, 2025
Dec 10, 2024
Jan 27, 2025

Repository files navigation

tsdown npm Unit Test JSR

⚡️ An even faster bundler powered by Rolldown.

Features

  • 🚀 Blazing fast: Build and generate .d.ts powered by Oxc and Rolldown, incredibly fast!
  • ♻️ Powerful ecosystem: Support Rollup / Rolldown / Vite / unplugin 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'],
  // ...
})

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

License

MIT License © 2024-PRESENT 三咲智子 Kevin Deng