Skip to content

fix: evaluate nested export conditions when resolving a module-sync fallback#557

Merged
jeffsee55 merged 1 commit intomainfrom
fix-nested-conditions
Nov 26, 2025
Merged

fix: evaluate nested export conditions when resolving a module-sync fallback#557
jeffsee55 merged 1 commit intomainfrom
fix-nested-conditions

Conversation

@jeffsee55
Copy link
Contributor

@jeffsee55 jeffsee55 commented Nov 26, 2025

The code (added here) was previously only adding the fallback when the condition was a string, but wasn't handling {"default": {"default": "./fallback.js"}}`, as is used in this package

@jeffsee55 jeffsee55 requested review from a team, icyJoseph, ijjk and styfle as code owners November 26, 2025 19:46
@jeffsee55 jeffsee55 merged commit 1e455b0 into main Nov 26, 2025
16 checks passed
@jeffsee55 jeffsee55 deleted the fix-nested-conditions branch November 26, 2025 20:56
@github-actions
Copy link

🎉 This PR is included in version 1.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants