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: default imports should always be last #253

Merged
merged 1 commit into from
May 30, 2024

Conversation

ThaUnknown
Copy link
Contributor

default condition should always be last, this is required as it breaks some bundlers such as webpack

@murat-dogan murat-dogan merged commit d59c64c into murat-dogan:master May 30, 2024
1 check passed
@murat-dogan
Copy link
Owner

From webpack page, I didn't understand that. But anyway it is harmless. Thanks.

@ThaUnknown
Copy link
Contributor Author

From webpack page, I didn't understand that. But anyway it is harmless. Thanks.

The last condition in the object might be the special "default" condition

it needs to be last

@ThaUnknown ThaUnknown deleted the fix-default branch May 30, 2024 11:44
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