<< All versions
Skill v1.0.0
currentLLM-judged scan90/100vbinupx/upx-cli/tsdown
──Details
PublishedOctober 21, 2026 at 04:38 PM
Content Hashsha256:4162ddd33088c155...
Git SHA8a463db9d7ab
──Files
Files (1 file, 3.1 KB)
SKILL.md3.1 KBactive
SKILL.md · 61 lines · 3.1 KB
version: "1.0.0" name: tsdown description: tsdown fast TypeScript library bundler powered by Rolldown and Oxc. Use when bundling TypeScript libraries, configuring entry points, or generating .d.ts declaration files. 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.
The skill is based on tsdown v0.20.1, generated at 2026-01-28.
Anthony's Preferences:
- Build pure-ESM packages, avoid CJS
- Always enable
dtsoption for type declarations - Enable
exportsoption 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
| Topic | Description | Reference | |
|---|---|---|---|
| Output | Format (ESM/CJS/IIFE/UMD), directory, target, platform | options-output | |
| Declaration Files | .d.ts generation, isolatedDeclarations, sourcemaps | options-dts | |
| Dependencies | External, noExternal, dependency bundling | options-dependencies | |
| Package Exports | Auto-generating exports, main, module fields | options-package-exports |
Features
| Topic | Description | Reference | |
|---|---|---|---|
| Optimization | Tree shaking, minification, sourcemaps | features-optimization | |
| Shims | CJS/ESM compatibility shims | features-shims | |
| Unbundle Mode | Bundleless transpile-only builds | features-unbundle | |
| Watch Mode | Auto-rebuild on file changes | features-watch |
Advanced
| Topic | Description | Reference | |
|---|---|---|---|
| Plugins | Rolldown, Unplugin, Rollup, Vite plugins | advanced-plugins | |
| Hooks | Build lifecycle hooks | advanced-hooks | |
| Programmatic API | Using tsdown from code | advanced-programmatic | |
| Rolldown Options | Customizing inputOptions and outputOptions | advanced-rolldown-options |
Recipes
| Topic | Description | Reference | |
|---|---|---|---|
| Framework Support | Vue and React library bundling | recipes-frameworks | |
| Migration | Migrating from tsup | recipes-migration |