Skip to content

rolldown/tsdown

Repository files navigation

tsdown

tsdown npm Unit Test JSR

✨ 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.