CSS Module localIdentName
Created by: abubakir1997
Problem
Currently react uses [filename]\_[classname]\_\_[hash]
for localIdentName when using CSS Modules. This causes an issue if the filename
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
- Remove the period from the class name (Allowing for period filenames)
- Or, clarify in the docs that filenames should not contain invalid css class name characters such as periods.