-
-
Notifications
You must be signed in to change notification settings - Fork 87
hashPrefix not applied when using default scope name #160
Copy link
Copy link
Open
Description
When using the default scope name the hashPrefix option is ignored, see here:
https://github.com/madyankin/postcss-modules/blob/v6.0.1/src/scoping.js#L39
This happens because hashPrefix is used when generating the hash, but when the default scope names are used this package calculates the hash on its own.
Meaning the hashPrefix is only used when genericNames is generating the hashes but for default names this package generates the hash without the prefix on its own.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels