Skip to content

"class-1" classes not working #109

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

Closed
nicoecheza opened this issue Jul 17, 2015 · 4 comments
Closed

"class-1" classes not working #109

nicoecheza opened this issue Jul 17, 2015 · 4 comments

Comments

@nicoecheza
Copy link

I have some classes (class-1, class-10) which are not working when the hash is applied.
It doest work without the [hash] option in the identLocalName and you just use [name]__[local].
Ex: the class is "bar-1".
The class name after being parsed is FilterResults-local__bar__2ObzC-1

The "-1" is appended to the end of the class name so it doesnt apply any styles.

@nicoecheza nicoecheza changed the title "class-1" not working when adding [hash] option "class-1" classes not working Jul 17, 2015
@sokra
Copy link
Member

sokra commented Jul 18, 2015

Do you use the lastest css-loader version?

@nicoecheza
Copy link
Author

Yeah, I'm using 0.15.4.

sokra added a commit that referenced this issue Jul 18, 2015
@sokra
Copy link
Member

sokra commented Jul 18, 2015

cannot reproduce it... Try to npm update all dependencies of css-loader.

@nicoecheza
Copy link
Author

this is my css loader conf

loader: 'style-loader!css-loader?sourceMap&modules&importLoaders=1&localIdentName=[name]--[local]--[hash:base64:5]!postcss-loader'

sokra added a commit that referenced this issue Jul 18, 2015
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