Skip to main content
Home
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 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
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
100%
Published
9 months ago (0.7.4)

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

Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@sxzz/tsdown

Import symbol

import * as tsdown from "@sxzz/tsdown";
or

Import directly with a jsr specifier

import * as tsdown from "jsr:@sxzz/tsdown";

Add Package

pnpm i jsr:@sxzz/tsdown
or (using pnpm 10.8 or older)
pnpm dlx jsr add @sxzz/tsdown

Import symbol

import * as tsdown from "@sxzz/tsdown";

Add Package

yarn add jsr:@sxzz/tsdown
or (using Yarn 4.8 or older)
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";