Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.56 KB

README.md

File metadata and controls

55 lines (37 loc) · 1.56 KB

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