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
refactor: parseNestedCSS
function
#4208
Conversation
@@ -357,7 +357,7 @@ $KeepScssVar: val; | |||
.Keep(); | |||
.Keep(4px) !important; | |||
.Keep() when (@Keep=Keep); | |||
.Keep() when (@Keep=12px); | |||
.Keep() when (@Keep=12PX); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In last LESS version value case sensitivity, let's output as is
@@ -1303,20 +1303,20 @@ $var: /* comment 1 */ all /* comment 2 */ !default /* comment 3 */ ; /* comment | |||
/* comment 20 */ | |||
} | |||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |||
$var: /* comment 1 */ all /* comment 2 */ !default /* comment 3 */ ; /* comment 4 */ | |||
$var: /* comment 1 */ all /* comment 2 */ !default /* comment 3 */; /* comment 4 */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better output comments in value properties
.desktop-and-old-ie({ | ||
background-color: red; | ||
}); | ||
.desktop-and-old-ie({background-color: red;}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use postcss-selector-parser
and it is can break code. We should use postcss-value-parser
for this. I can do this in other PR.
952ee57
to
32c565c
Compare
Improve speed and fix places where we can break code