Closed rluba closed 3 years ago
The following code:
.a { .b { .c & {} } }
… gets transformed into:
.a .c .b {}
… but it should be:
.c .a .b {}
…because the & references the whole current selector, not just the immediate parent. (Sass generates the correct output.)
&
Agree. Please send PR.
👍 Already working on it…
Feel free to ask questions about the current architecture
The following code:
… gets transformed into:
… but it should be:
…because the
&
references the whole current selector, not just the immediate parent. (Sass generates the correct output.)