Tsdown Migrate
Migrate tsup library projects to tsdown with option mappings, default differences, and two-stage guidance.
- CCM score
- 70 of 100
- skills.sh installs
- 411
- GitHub stars
- 4.4K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the two-stage migration: first on
tsdown@0.22.14until the build emits zero deprecation warnings, then upgrade to^0.23.0or newer - Includes property renames (
entryPointstoentry,cjsInteroptocjsDefault),external/noExternaltodepsmoves, and plugin import transforms from/esbuildto/rolldown - Enforces explicit
format: 'cjs'andclean: falsesettings to preserve tsup defaults that tsdown changes - Designed for AI agents performing config migrations, and for Node.js 22.18+ build environments with lower-version targets
Install
$ npx -y skills add rolldown/tsdown --skill tsdown-migrate -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Migrating from tsup to tsdown
Knowledge base for AI agents to migrate tsup projects to tsdown — the Rolldown-powered library bundler.
Target Version: Two-Stage Migration
tsdown v0.23 removed all previously-deprecated tsup compatibility options — bundle, outExtension, publicDir, removeNodeProtocol, injectStyle, and skipNodeModulesBundle are no longer recognized. They fail TypeScript type checking and are silently ignored at runtime, so a missed mapping on v0.23+ produces wrong output without any error. Migrating directly to v0.23+ is therefore unsafe. tsdown v0.22.14 is the last version that still accepts these options and flags each one with a deprecation warning, making it the safe migration checkpoint. Migrate in two stages:
Details
- Repository
- github.com/rolldown/tsdown
- Categories
- Frontend & UI Code, CLI & Terminal
- First seen
- Jun 3, 2026
Similar to Tsdown Migrate
More Frontend & UI Codersbuild-v2-upgradeSkillrstackjs/agent-skills505 installsStep-by-step guide for upgrading a Rsbuild 1.x project to v2, covering dependencies and config changes.
typescript-migrationPluginsecondsky/claude-skills254 starsTypeScript version migration guide (5.x to 6 to 7, tsgo native port). Use for TS 6 tsconfig breaking changes, TS 7 Go rewrite rollout, or TS5xxx deprecation cod
rollup-bundlerSkillmindrally/skills696 installsBest-practices guide for Rollup.js configuration, ES modules, and library bundling with tree-shaking focus.
viteSkillantfu/skills42.8K installsComprehensive Vite reference covering configuration, plugin API, SSR, library builds, and the Vite 8 Rolldown migration.