~/talk

tsdown: One tool to bundle them all

Talkat ViteConf 2025 · 2025-10-09..10-10· [javascript, developer-experience]
slides:none on file

tsdown bundles TypeScript libraries into ESM/CJS/neutral outputs with automatic package.json exports and automated DTS generation, choosing what to externalize versus inline and offering a bundleless mode. It runs a single command for builds, supports Vue SFCs, Node 20+ (Deno/Bun experimental), and parallel multi-package builds, and it reports 873,000 monthly npm downloads and ~2,100 dependent projects. The core uses a Rust-powered bundling engine for high-performance builds.

AI-written summary · about

  1. 0:00Introduction to TSdown
  2. 1:30What is a library bundler?
  3. 2:35Pain points with existing bundlers
  4. 5:05TSdown’s design and features
  5. 8:14Getting started with TSdown
  6. 9:23Automatic type decoration
  7. 10:26Dependency handling
  8. 11:55Multi-format output and platforms
  9. 13:18Package.json export fields
  10. 14:22Building Vue component libraries
  11. 15:09Performance and benchmarks
  12. 15:52Migration from TSR
  13. 16:56Other features and ecosystem
  14. 17:40Adoption and community
  15. 19:07Future plans for TSdown
  16. 20:38Acknowledgments and thanks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.