Skip to content

Conversation

Rich-Harris
Copy link
Member

This brings the CommonJS plugin more in line with the 'real' one — it generates named exports for this common pattern:

exports.foo = foo;

With this change, more packages work

Copy link

vercel bot commented Dec 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
svelte-dev ✅ Ready (Inspect) Visit Preview Dec 12, 2024 10:21pm

@Rich-Harris Rich-Harris merged commit 36211f3 into main Dec 12, 2024
4 checks passed
@Rich-Harris Rich-Harris deleted the better-cjs-support branch December 12, 2024 22:28
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.

1 participant