Skip to content

chore: migrate build tooling from tsup to tsdown#1089

Open
vladfrangu wants to merge 1 commit intomasterfrom
t3code/migrate-tsdown
Open

chore: migrate build tooling from tsup to tsdown#1089
vladfrangu wants to merge 1 commit intomasterfrom
t3code/migrate-tsdown

Conversation

@vladfrangu
Copy link
Copy Markdown
Member

Summary

  • Replace tsup with tsdown as the build tool (package.json, tsdown.config.ts)
  • Adapt config to tsdown's API: deps.skipNodeModulesBundle, nested minify options with keepNames, and explicit outExtensions
  • Remove now-redundant options (external, noExternal, splitting, bundle, keepNames top-level) that tsdown handles differently or by default
  • Update tsconfig.eslint.json to reference the renamed config file
  • Lock file updated to pull in tsdown and its dependencies (rolldown rc.16, rolldown-plugin-dts, oxc, etc.) and drop tsup/rollup

Testing

  • yarn build completes without errors
  • dist/ output files are present and have .js extensions as expected
  • yarn lint passes with the renamed config file included in tsconfig.eslint.json

- Replace tsup with tsdown, update config file and build script
- Adapt minify/deps options to tsdown API shape
- Add outExtensions to preserve .js output extension
@github-actions github-actions bot added this to the 138th sprint - Tooling team milestone Apr 19, 2026
@github-actions github-actions bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Apr 19, 2026
@vladfrangu vladfrangu added the adhoc Ad-hoc unplanned task added during the sprint. label Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants