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

@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
Copy link
Copy Markdown
Contributor

@l2ysho l2ysho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

- 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
@vladfrangu vladfrangu force-pushed the t3code/migrate-tsdown branch from e6f0f5f to ad16dde Compare April 23, 2026 09:46
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.

3 participants