Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: treat default condition as esm or cjs #657

Merged
merged 7 commits into from
Feb 15, 2025

Conversation

himself65
Copy link
Contributor

Fixse: #656

Copy link

vercel bot commented Feb 12, 2025

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

Name Status Preview Comments Updated (UTC)
bunchee ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 15, 2025 6:23pm

@himself65 himself65 changed the title fix: always put the default condition at the end fix: treat default condition as esm or cjs Feb 14, 2025
@huozhi
Copy link
Owner

huozhi commented Feb 15, 2025

Added a test but hard to make everything work correctly. Still has one case failing, will land this and refactor the condition matching logic

@huozhi huozhi merged commit dd38370 into huozhi:main Feb 15, 2025
7 checks passed
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.

2 participants