-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
Add hashPrefix option #98
Conversation
@jessethomson Thanks a lot for the contribution, I really appreciate it! I'll take a look at this a bit later (in one or two days) |
Awesome, thanks for helping me make this small contribution! |
I will release the new version by the end of the week |
Great, I look forward to it! Thanks for all you do! |
Can we get a new version released with this change? No rush. I know people have lives outside of open source projects so whenever you get some free time would be great 😄 |
Oh, crap! I have completely forgot about this. Thank you for reminding me.
I’m away from my laptop today, will release in a couple of days.
… On 4 Jan 2020, at 04:57, Jesse Thomson ***@***.***> wrote:
Can we get a new version released with this change? No rush. I know people have lives outside of open source projects so whenever you get some free time would be great 😄
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@jessethomson published. Sorry for keeping you waiting. |
Background
The webpack
css-loader
has support for ahashPrefix
option to "allow to add custom hash to generate more unique classes".In
postcss-modules
, we use thegeneric-names
package, which already supportshashPrefix
.Change
This change simply adds a new
hashPrefix
option topostcss-modules
, which is forwarded to thegeneric-names
generator.This change is backwards compatible feature and should go out in a minor release.