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: use named export for clsx #954

Closed
wants to merge 4 commits into from

Conversation

jmvtrinidad
Copy link

when using on rspack the default export with ESM does not translate well
image

@jmvtrinidad
Copy link
Author

@wojtekmaj
Copy link
Owner

While I'd be happy to merge this, my worry is that this problem appears to be Rspack-exclusive, and cannot be reproduce anywhere else, making me wonder, what difference would it even make? Then we'd need to fix default imports everywhere, which just isn't feasible.

@jmvtrinidad
Copy link
Author

Thank you @wojtekmaj
After further investigation, you are right it is from rspack

@jmvtrinidad jmvtrinidad closed this Oct 3, 2024
@jmvtrinidad jmvtrinidad deleted the patch-1 branch October 3, 2024 14:23
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