lesscss-engine icon indicating copy to clipboard operation
lesscss-engine copied to clipboard

Imports not correctly compiling

Open zerovox opened this issue 12 years ago • 0 comments

For files a.less:

@import b.less;
.bar {
  .foo;
  font-size: 15px;
}

and b.less:

.foo {
  background: green;
}

lesscss-engine compiles a.less to the following css:

.bar {
  background: green;
  font-size: 15px;
}

rather than:

.foo {
  background: green;
}
.bar {
  background: green;
  font-size: 15px;
}

This is a regression and was not the case in 1.3.3.

zerovox avatar Nov 12 '13 23:11 zerovox