MCPcopy
hub / github.com/rolldown/tsdown

github.com/rolldown/tsdown @v0.22.3 sqlite

repository ↗ · DeepWiki ↗ · release v0.22.3 ↗
377 symbols 1,068 edges 131 files 4 documented · 1%
README

tsdown

tsdown

Open on npmx npm downloads Unit Test tsdown Starter StackBlitz

✨ The elegant bundler for libraries powered by Rolldown.

Features

  • 🚀 Blazing fast: Build and generate declaration files powered by Oxc and Rolldown, incredibly fast!
  • ♻️ Powerful ecosystem: Support Rollup, Rolldown, unplugin plugins, and some Vite plugins.
  • ️🛠️ Easy to use: tsdown preconfigures everything you need to get started, so you can focus on writing code.
  • 🔄 Seamless migration: Compatible with tsup's main options and features, ensuring a smooth transition.

Documentation

For full documentation, visit tsdown.dev.

Install

npm i -D tsdown

Usage

npx tsdown

Sponsors

Licenses

This project is licensed under the MIT License.

Extension points exported contracts — how you extend this code

ImportGlobOptions (Interface)
(no doc)
client.d.ts
ExeTarget (Interface)
(no doc)
packages/exe/src/platform.ts
MigrateOptions (Interface)
(no doc)
packages/migrate/src/index.ts
CssPluginConfig (Interface)
(no doc)
packages/css/src/plugin.ts
Options (Interface)
(no doc)
packages/create-tsdown/src/index.ts
AttwOptions (Interface)
(no doc)
__snapshots__/tsnapi/index.snapshot.d.ts
ImportMeta (Interface)
(no doc)
src/shims.d.ts
LoggerOptions (Interface)
(no doc)
src/utils/logger.ts

Core symbols most depended-on inside this repo

testBuild
called by 187
tests/utils.ts
writeFixtures
called by 48
tests/utils.ts
fsExists
called by 28
src/utils/fs.ts
toArray
called by 23
src/utils/general.ts
slash
called by 20
src/utils/general.ts
resolveFeatureOption
called by 20
src/config/options.ts
toObjectEntry
called by 16
src/features/entry.ts
resolveConfig
called by 14
src/config/index.ts

Shape

Function 290
Interface 87

Languages

TypeScript100%

Modules by API surface

packages/css/src/preprocessors.ts25 symbols
__snapshots__/tsnapi/index.snapshot.d.ts24 symbols
src/utils/logger.ts16 symbols
src/features/pkg/exports.ts13 symbols
src/features/deps.ts13 symbols
src/utils/general.ts12 symbols
packages/css/src/plugin.ts12 symbols
tests/utils.ts11 symbols
src/features/rolldown.ts10 symbols
src/build.ts10 symbols
packages/css/src/lightningcss.ts10 symbols
packages/exe/src/platform.ts8 symbols

Dependencies from manifests, versioned

@antfu/nicatalog:migrate · 1×
@arethetypeswrong/corecatalog:peer · 1×
@ast-grep/napicatalog:migrate · 1×
@clack/promptscatalog:create · 1×
@iconify-json/logoscatalog:docs · 1×
@shikijs/vitepress-twoslashcatalog:docs · 1×
@sxzz/eslint-configcatalog:dev · 1×
@sxzz/prettier-configcatalog:dev · 1×
@sxzz/test-utilscatalog:dev · 1×
@tsdown/cssworkspace:* · 1×
@tsdown/exeworkspace:* · 1×
@types/nodecatalog:dev · 1×

For agents

$ claude mcp add tsdown \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact