tsdown

The elegant bundler for libraries powered by Rolldown
GitHub
1.85k
Created a year ago, last commit 2 days ago
32 contributors
620 commits
Stars added on GitHub, per day, on average
Yesterday
+3
Last week
+7.4
/day
Last month
+10.3
/day
npmPackage on NPM
tsdown
0.12.9
Monthly downloads on NPM
6
7
8
9
10
11
12
1
2
3
4
5
2024
2025
README

tsdown

tsdown npm Unit Test JSR tsdown-starter-stackblitz

✨ The elegant bundler for libraries powered by Rolldown.

Features

  • 🚀 Blazing fast: Build and generate declaration files powered by Oxc and Rolldown, incredibly fast!
  • ♻️ Powerful ecosystem: Support Rollup, Rolldown, unplugin plugins, and some Vite plugins.
  • ️🛠️ Easy to use: tsdown preconfigures everything you need to get started, so you can focus on writing code.
  • 🔄 Seamless migration: Compatible with tsup's main options and features, ensuring a smooth transition.

Documentation

For full documentation, visit tsdown.dev.

Install

npm i -D tsdown

Usage

npx tsdown

Migrate from tsup

npx tsdown migrate

Please make sure to commit your changes before migrating. For more details, see the Migration Guide.

Credits

This project also partially contains code derived or copied from the following projects:

Sponsors

Licenses

This project is licensed under the MIT License.