-
Notifications
You must be signed in to change notification settings - Fork 51
localIdentName #3
Comments
@Ehres thanks for taking the time to submit this issue. I think you're right. I myself reuse some common class names like I like your suggestion of adding
Questions:
CC: @sokra (the Webpack author and main contributor to css-loader) |
Regarding my 2nd question, I like @andriijas's reasoning for just hashes in production. |
@lnhrdt i just override it in config-overrides.js because i think its way to verbose in CRA2.
|
Along a similar vein, using
|
Closing this issue and archiving this project in favor of Create React App's native support for CSS Modules introduced in v2. |
Why not use
[name]
in localIdentName ? ([local]___[hash:base64:5]
)If all components has same root className, like
.root
or.container
, all component className has same name with different hash.In general, I use
[local]__[name]__[hash:base64:5]
who allow to recognize className by file name.The text was updated successfully, but these errors were encountered: