Closed gitowiec closed 9 years ago
Does it work with newer version of the plugin? It might have been related to a Less compiler bug.
Also make sure import dirs are known.
This issue was introduced in 1.7.6 for me, the second import in the second file seems to fail; I have an equivalent of "variables.less" in a directory whose path is added to the Import Directories and can import it into a single stylesheet. If I try to import it into a second, it fails. Possibly related to the "@import (once)" default behavior in Less?
I haven't yet come to a solution and am still looking for what changed to start this behavior; also going to give 1.8 a try now that it is posted.
Good news, looks like it was an issue with the compiler and I'm not crazy.
Cool, good news :-)
I have two less files that include variables.less, both are hosted by the page at the same time (same paths), first is
main.less
and second isevents.less
.At the beginning of
main.less
andevents.less
file I entered@import 'variables.less';
Content of variables.less is:All I got in
main.less
is ok, classes are added, variables are substituted, but inevents.less
css classes fromvariables.less
and variables are missing!