- Notifications
You must be signed in to change notification settings - Fork 44
Closed
Description
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:
require('css-modules-require-hook')({ generateScopedName: '[name]__[local]___[hash:base64:5]', mode: 'local' });
And here is webpack's css-loader config:
{ test: /\.css$/, loader: 'style!css?modules&localIdentName=[name]__[local]___[hash:base64:5]!postcss', include: [ path.resolve(__dirname, '..', 'app') ] }
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?
Metadata
Metadata
Assignees
Labels
No labels