You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem with css modules when one component using several times in one page
When one component used several times in one page, in chrome dev tools we can see that styles was generated several times also (only for production mode)
To Reproduce
Steps to reproduce the behavior:
Use css-modules
Use one component several times per page
Expected behavior
css generated only one time, like for development mode
Screenshots
System information
OS: [macOS]
all
Version of Next.js: 9
Version of Node.js: 10
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Jan 29, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
Problem with css modules when one component using several times in one page
When one component used several times in one page, in chrome dev tools we can see that styles was generated several times also (only for production mode)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
css generated only one time, like for development mode
Screenshots
System information
The text was updated successfully, but these errors were encountered: