When trying to use nested rules in a .less file, they do not get compiled into the main file. I have also tried separating the css from the less but I still run into the same issue. I have tried:
<resourceSet name="siteCss" type="css">
<resource path="~/content/Site.css" />
</resourceSet>
<resourceSet name="siteLess" type="css">
<resource path="~/content/Home.less" />
</resourceSet>
and this:
<resourceSet name="siteCss" type="css">
<resource path="~/content/Site.css" />
<resource path="~/content/Home.less" />
</resourceSet>
When used by itself, dotless works correctly. Here is the example .less file:
.testClass
{
.innerClass
{
a
{
margin: auto;
}
}
}