-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
CSS Module localIdentName #6910
Comments
in the new version, I am not able to use the CSS module Layout.module.css
Layout.js
here {styles.Content} is not working |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
What is the value of |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue. |
Problem
Currently react uses
[filename]\_[classname]\_\_[hash]
for localIdentName when using CSS Modules. This causes an issue if thefilename
contains a period, since a period is not a valid character in css class names.Example
Filename:
product.drawer.module.css
ClassName:
.SomeClass {}
Generated ClassName:
product.drawer_SomeClass_[hash]
Suggestion
The text was updated successfully, but these errors were encountered: