-
Notifications
You must be signed in to change notification settings - Fork 45
generateScopedName generates different hash than css-loader #48
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
Can you check the version of the css-loader module you use? It should be v0.21.0 or higher. |
css-loader version is "^0.21.0", and so webpack's context and hook's rootDir are equivalent. |
Well, looks like a bug, I'll try to check it out. Thanks |
Yeah, you were right. I found it and solved the problem. Thanks again :) |
Now everything works like a charm, thanks a lot! |
Thanks :) |
Thanks, I had the same issue, upgrading to version |
😄 👍 |
Thanks, for making such cool feature as generateScopedName, but combining it with webpack's css-loader gives me different results.
Here is
css-modules-require-hook
config:And here is webpack's css-loader config:
So hooks result is
index__navitem___2ntrM
, but css-loader's:index__navitem___1gRhv
.What can be wrong with config or is this hook's bug?
The text was updated successfully, but these errors were encountered: