-
-
Notifications
You must be signed in to change notification settings - Fork 608
getLocalIdent doesn't apply for composed classes #524
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
Comments
Looking at the code this seems like the intended behavior. Why is that? how can I control the name of composed classes? |
@eloytoro Could you try with webpack.config.js {
loader: 'css-loader'
options: {
ident: 'css', // <= this line, which value isn't important
getLocalIdent: () => {}
}
} |
Closing due to inactivity. Please test with latest version and feel free to reopen if still regressions. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you want to request a feature or report a bug?
It's a bug
What is the current behavior?
getLocalIdent
works for all directly required css file, but doesn't for composed classesIf the current behavior is a bug, please provide the steps to reproduce.
Loader in the webpack config
style1.css
style2.css
module.js
What is the expected behavior?
module.js
Please mention other relevant information such as your webpack version, Node.js version and Operating System.
[email protected]
[email protected]
The text was updated successfully, but these errors were encountered: