tsdown by onmax/nuxt-skills
npx skills add https://github.com/onmax/nuxt-skills --skill tsdown基于 Rolldown + Oxc 的 TypeScript 打包工具。可直接替代 tsup。
npm i -D tsdown typescript
// tsdown.config.ts
import { defineConfig } from 'tsdown'
export default defineConfig({
entry: 'src/index.ts',
format: 'esm',
dts: true,
exports: true,
})
tsdown # 构建
tsdown --watch # 监听模式
| 任务 | 文件 |
|---|---|
| 配置文件、CLI、入口点 | config.md |
| 输出格式、目标、dts、exports、验证 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 垫片、非捆绑模式、监听模式、框架集成、WASM | features.md |
| 插件、钩子、代码检查、编程式 API、迁移 | advanced.md |
请根据你的任务加载以下参考文件:
请勿一次性加载所有文件。 仅加载与你当前任务相关的文件。
ts-library 技能vue 技能pnpm 技能每周安装量
438
代码仓库
GitHub 星标数
606
首次出现
2026年1月28日
安全审计
已安装于
opencode338
github-copilot330
gemini-cli327
codex327
cursor287
kimi-cli282
Rolldown + Oxc powered TypeScript bundler. Drop-in tsup replacement.
npm i -D tsdown typescript
// tsdown.config.ts
import { defineConfig } from 'tsdown'
export default defineConfig({
entry: 'src/index.ts',
format: 'esm',
dts: true,
exports: true,
})
tsdown # Build
tsdown --watch # Watch mode
| Task | File |
|---|---|
| Config file, CLI, entry points | config.md |
| Format, target, dts, exports, validation | output.md |
| Shims, unbundle, watch, frameworks, WASM | features.md |
| Plugins, hooks, lint, programmatic, migration | advanced.md |
Consider loading these reference files based on your task:
DO NOT load all files at once. Load only what's relevant to your current task.
ts-library skillvue skillpnpm skillWeekly Installs
438
Repository
GitHub Stars
606
First Seen
Jan 28, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykPass
Installed on
opencode338
github-copilot330
gemini-cli327
codex327
cursor287
kimi-cli282
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
136,300 周安装