-
Notifications
You must be signed in to change notification settings - Fork 462
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 hexadecimal @value properties are undefined #2360
Comments
Thanks for the report. I am able to confirm this issue. We don't currently account for |
Any idea, if this will get fixed? Thanks! |
|
Seems the scss part is still missing, thought it passed locally ... |
Fixed this specific edge case but there are probably more with |
@mgreter yes, I don't think sass should have any specific handling for When Sass encounters an at-rule it doesn't know, it should parse the remainder of the at-rule to the first https:/sass/sass/blob/stable/lib/sass/scss/parser.rb#L215-L217 |
Re-opening so this doesn't get lost, but maybe better to close this and file a new issue? |
Thanks @chriseppstein |
While migrating to webpack 2 I stumbled upon CSS-Modules
@value
s being undefined. Interestingly enough values like e.g.1px
or rgb values are working fine. Hexadecimal definitions simply seem to vanish. Moreover I am not sure, why there is a{}
after the second definition.test.sass
node node_modules\node-sass\bin\node-sass test.sass > test.css
produces:test.css
version info:
$ node-sass --version node-sass 4.5.2 (Wrapper) [JavaScript] libsass 3.5.0.beta.2 (Sass Compiler) [C/C++] Windows 10 $ node -v v4.8.2
Sassmeister output:
Ruby output on win xp host:
version info:
I could reproduced the said behaviour since node-sass 3.6.0 with libsass 3.3.6.
Thanks!
The text was updated successfully, but these errors were encountered: