| name | tsdown |
| description | tsdown is a fast and elegant TypeScript library bundler powered by Rolldown and Oxc |
| metadata | {"author":"Anthony Fu","version":"2026.1.28","source":"Generated from https://github.com/rolldown/tsdown, scripts located at https://github.com/antfu/skills"} |
tsdown is a next-generation TypeScript library bundler built on Rolldown and Oxc. It provides blazing-fast builds, automatic .d.ts generation, and seamless migration from tsup. Supports Rolldown/Rollup/Unplugin plugins and features smart dependency handling.
This documentation is based on tsdown v0.20.1.
Anthony's Preferences:
- Build pure-ESM packages, avoid CJS
- Always enable
dts option for type declarations
- Enable
exports option for auto-generated package exports
Core
| Topic | Description | Reference |
|---|
| Configuration | Config file setup, defineConfig, multiple configs | core-config |
| CLI | Command-line interface and options | core-cli |
| Entry Points | Entry files, aliases, glob patterns | core-entry |
Build Options
Features
Advanced
Recipes