-
Notifications
You must be signed in to change notification settings - Fork 565
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
Import from 'classnames' broken since v2.5.0 #358
Comments
Can you provide a little more information about how to reproduce this issue? What runtime are you using? What version of said runtime? Please provide a minimal an reproducible piece of example code. |
Closing this for a lack of information to reproduce the issue, if you have a reproducible case let us know. |
In case anyone else comes across this issue - we saw the same error message in our Next.js app after bumping a dependency that depended on classnames |
This is happening to me in next.js, I am using ant-design which depends on classnames, and I noticed that it was the classnames that caused this error |
@kingsley-sunny if you have a reproducible case please file a new issue with minimal steps to reproduce. |
Hello 👋 We are using classnames into our project and we have just made an upgrade from v2.3.2 to v2.5.1 - we are facing the following issue:
After investigation, it seems to be coming directly from the module import which we are importing the following way:
It is also happening on v2.5.0 but not v2.4.0.
After having a quick look around at recently merged PRs, I have a hunch it could be coming from the type being moved to 'commonjs' instead of a 'module' but as I said, this is just a wild guess :)
Would you be able to advise on this by any chance?
The text was updated successfully, but these errors were encountered: