Skip to content

fix: keep legacy main and module fields in tsdown exports - #1063

Merged
JoshuaKGoldberg merged 1 commit into
mainfrom
fix/tsdown-legacy-exports
Nov 9, 2026
Merged

JoshuaKGoldberg merged 1 commit into
mainfrom
fix/tsdown-legacy-exports

Conversation

@JoshuaKGoldberg

@JoshuaKGoldberg JoshuaKGoldberg commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

PR Checklist

Overview

Since the tsdown 0.22 upgrade, pnpm build strips main and module from package.json for ESM-only builds, which leaves the working tree dirty and makes release-it fail in the Create Release PR workflow. This opts into tsdown's exports.legacy so the build keeps the fields we already publish.

🛠️️

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JoshuaKGoldberg
JoshuaKGoldberg marked this pull request as ready for review November 9, 2026 23:42
@JoshuaKGoldberg
JoshuaKGoldberg merged commit 0bf7724 into main Nov 9, 2026
30 checks passed
@JoshuaKGoldberg
JoshuaKGoldberg deleted the fix/tsdown-legacy-exports branch November 9, 2026 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🛠 Tooling: Release PR workflow fails because build rewrites package.json

1 participant