-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
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
[examples] Fix nextjs with styled-components example #27583
[examples] Fix nextjs with styled-components example #27583
Conversation
@mnajdova Did you have the opportunity to look at why we have this warning? I'm asking because we have the same issue with our documentation. It might be a reproduction simpler to investigate. |
I haven't look too deep, I just tested that it is fixed by these changes, to be honest, I am not sure why. I will check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great
I tried to configure the docs to use package alias, but I didn't manage to. No matter what I use in the package.json in the end the babel alias wins. |
Fixes #27512
The PR implements #27088 (comment). It replaces the webpack alias with package alias. This also fixed the class name mismatch error.
I will update the other examples in a separate PR.