Closed DotCoyote closed 8 years ago
Unfortunately, this is one of a few parsing issues I’ve run into with the .sass and .scss syntaxes. They also choke on Media Queries Level 4.
@media (width <= 1200px) {
div {
color: red;
}
}
To be clear, these are bugs in Sass, part of their aggressive interpretation of math and media queries. I would open an issue there.
@jonathantneal Could an alternate syntax, such as using "null" be added?
+1. I think that in the interest of maximum compatibility, null
is a suitable alternative for preprocessors such as Sass.
You may change the skip token (documentation). The default skip token will remain *
. Alternatively, run PostCSS before you run Sass.
I sincerely hope they ditch all this magic math in the next major release.
I've taken the initiative to file an issue regarding the lack of interoperability here.
Also the best workaround seems to be changing the skip token to _
. 🙂
Side question: Does postcss-short
support the skip
option, or do I need to add postcss-short-spacing
explicitly?
I'm using our Plugin with Gulp and Sass:
results in the following error-message: