Closed
Description
Having on mixin.less
.mixin-test() {
.test {
color: red;
&:first-child {
color: blue;
}
}
}
And main.less
@import (reference) "mixin.less";
.mixin-test();
It Outputs:
.test {
color: red;
}
but if I remove the (reference) it prints
.test {
color: red;
}
.test:first-child {
color: blue;
}
lessc 1.7.0 (LESS Compiler) [JavaScript]
Not sure if it's related to: #1851