This package has been archived, and as such it is read-only.
This release is 5 versions behind 0.9.1 β the latest version of @sxzz/tsdown. Jump to latest
Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
The 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
9 months ago (0.7.4)
tsdown

β‘οΈ An even faster bundler powered by Rolldown.
Features
- π Blazing fast: Build and generate
.d.tspowered 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
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";