You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore: migrate from tsup to tsdown
tsup is effectively unmaintained and has a bug with TypeScript 6.0
(egoist/tsup#1388 — unconditionally injects baseUrl which triggers
TS5101). tsdown is the spiritual successor, powered by Rolldown, and
supports TS6 out of the box.
- Replace tsup + esbuild with tsdown (rolldown-based bundler)
- Port react-compiler babel plugin from esbuild onLoad to rolldown
transform hook
- Remove fixCjsDefaultInteropPlugin (rolldown handles CJS interop
correctly without the isNodeMode bug)
- Update package.json exports to match tsdown output extensions
(.mjs/.d.mts for ESM, .cjs/.d.cts for CJS)
- Update api-extractor config for new .d.mts entry point
- Remove esbuild from onlyBuiltDependencies in pnpm-workspace.yaml
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: resolve knip issues with tsdown migration
- Remove rolldown type import (transitive dep, not direct) — let TS infer the plugin type
- Remove babel-plugin-react-compiler from knip ignoreDependencies (knip can now detect it via tsdown config)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore: fix review findings from tsdown migration
- Update AGENTS.md references from tsup to tsdown
- Update dependabot.yml build-tools group pattern from tsup to tsdown
- Add condition-specific types in package.json exports (d.mts for ESM, d.cts for CJS)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: enable babel sourcemaps in react-compiler plugin
Pass sourceMaps: true to transformAsync so the transform produces
source maps that Rolldown can chain into the final bundle output.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments