Skip to content

fix(exports): merge multi-config outputs#625

Merged
sxzz merged 2 commits intorolldown:mainfrom
pyyupsk:fix/exports-multi-entry
Dec 1, 2025
Merged

fix(exports): merge multi-config outputs#625
sxzz merged 2 commits intorolldown:mainfrom
pyyupsk:fix/exports-multi-entry

Conversation

@pyyupsk
Copy link
Copy Markdown
Contributor

@pyyupsk pyyupsk commented Dec 1, 2025

Description

Fix exports being overwritten when using multiple configs with exports: true. Now chunks from all configs are merged before generating the final package.json exports.

Linked Issues

fixes #566

Additional context

Added test case to verify the fix.

@netlify
Copy link
Copy Markdown

netlify bot commented Dec 1, 2025

Deploy Preview for tsdown ready!

Name Link
🔨 Latest commit f201dd6
🔍 Latest deploy log https://app.netlify.com/projects/tsdown/deploys/692db33937e86300087cad74
😎 Deploy Preview https://deploy-preview-625--tsdown.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Dec 1, 2025

Open in StackBlitz

npm i https://pkg.pr.new/tsdown@625
npm i https://pkg.pr.new/create-tsdown@625
npm i https://pkg.pr.new/tsdown-migrate@625

commit: f201dd6

@sxzz sxzz merged commit 739847b into rolldown:main Dec 1, 2025
14 of 16 checks passed
@pyyupsk pyyupsk deleted the fix/exports-multi-entry branch December 1, 2025 15:34
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.

"exports" feature produces incorrect output for multiple entry points

2 participants