Closed davyrolink closed 1 year ago
This example looks broken. What is a reason to move on the root if you are using &
?
Maybe we should throw an error instead?
Note, that we don't guarantee any Sass compatibility.
It's an extremely shortened example of some legacy code. We will refactor the legacy code in these cases, but maybe it's useful for others to write a short line in the readme. It would be good to documented it somewhere, to make it clear that there are some differences to be expected. Thanks for the quick reply and your work on these projects!
I think it is better to add docs. Do you have an idea how to say it?
I'm not a native speaker, but maybe something like: The behaviour of @at-root isn't fully Sass compatible, e.g. using a parent-selector as the direct child of the @at-root rule is not supported at the moment.
Too long. Users need to be focused on important information and this case is too rare to spend space on it.
I changed text a little a5a8b49
I encountered a problem when converting a Sass project to Postcss-nested.
SCSS input:
Postcss-nested output:
Expected (Sass) output:
I'm using the latest available version of Postcss-nested, 6.0.0