Skip to content
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

CSS Modules generateScopedName not working #2988

Closed
brielov opened this issue May 7, 2019 · 2 comments
Closed

CSS Modules generateScopedName not working #2988

brielov opened this issue May 7, 2019 · 2 comments

Comments

@brielov
Copy link

brielov commented May 7, 2019

I'm not able to override the default naming for css module class names. No matter what I put in generateScopedName, it'll always output the original convention.

{
  "modules": true,
  "plugins": {
    "autoprefixer": {
      "grid": true
    },
    "postcss-modules": {
      "generateScopedName": "[hash:base64:5]"
    }
  }
}
@mischnic
Copy link
Member

mischnic commented May 7, 2019

This was already fixed a few days ago in #2922 and will be fixed in the next release.

@mischnic mischnic closed this as completed May 7, 2019
@brielov
Copy link
Author

brielov commented May 7, 2019

Oh, my bad... thank you for the quick reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants