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(interopDefault): assign props to default function export #258

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Jun 5, 2024

Fixes regressions from unjs/jiti#238

With 14eb72d, we no longer assign props to default export if it is a function that breaks many mixed cases.

Note: With new opt-in preferNamespace flag, we don't mix them anymore and return namespace as-is still.

@pi0 pi0 merged commit 969273d into main Jun 5, 2024
4 checks passed
@pi0 pi0 deleted the fix/interop-fn branch June 5, 2024 11:05
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