Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
sxzz/tsdownThe elegant bundler for libraries powered by Rolldown.
This package works with Node.js, Deno, BunIt is unknown whether this package works with Cloudflare Workers



JSR Score
100%
Published
2 months ago (0.9.1)
tsdown

✨ 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 tsup.
Sponsors
Licenses
This project is licensed under the MIT License.
Built and signed on
GitHub Actions
Add Package
deno add jsr:@sxzz/tsdown
Import symbol
import * as tsdown from "@sxzz/tsdown";
Import directly with a jsr specifier
import * as tsdown from "jsr:@sxzz/tsdown";
Add Package
pnpm i jsr:@sxzz/tsdown
pnpm dlx jsr add @sxzz/tsdown
Import symbol
import * as tsdown from "@sxzz/tsdown";
Add Package
yarn add jsr:@sxzz/tsdown
yarn dlx jsr add @sxzz/tsdown
Import symbol
import * as tsdown from "@sxzz/tsdown";
Add Package
vlt install jsr:@sxzz/tsdown
Import symbol
import * as tsdown from "@sxzz/tsdown";
Add Package
npx jsr add @sxzz/tsdown
Import symbol
import * as tsdown from "@sxzz/tsdown";
Add Package
bunx jsr add @sxzz/tsdown
Import symbol
import * as tsdown from "@sxzz/tsdown";