Commit 786bf83
build: migrate bundler from tsup to tsdown
Replace tsup with tsdown (rolldown-powered). Config ports the two ESM
entries (index, mux), dts, and clean. The stylesheet now ships via
tsdown's native copy (src/styles/kino.css -> dist/styles.css) instead
of an onSuccess/cp shell step, so the build script is just `tsdown`.
fixedExtension: false keeps .js/.d.ts output to match the existing
package.json exports. react/react-dom (peer) and @mux/mux-video (dep)
remain external by default. Build, typecheck, lint, and tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 71f9acc commit 786bf83
4 files changed
Lines changed: 475 additions & 499 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments