undercoat 0.12.2

Native Rust compiler for Less and Sass/SCSS — byte-compatible with lessc and dart-sass, no Node runtime
Documentation
/* a rule with only comments: the selector block is still emitted (less semantics) */
.a {
  /* only comment */
}
/* comment + child rule: the comment stays in the parent block, which must not be dropped */
.b {
  /* c */
}
.b .inner {
  x: 1;
}
/* last statement inside a child rule: whitespace before `}` is trimmed */
.c .inner {
  y: 2;
}
/* empty blocks are not emitted */
/* less keeps whitespace before the semicolon */
.e {
  padding: 10px ;
}
/* comments between child rules are hoisted into the parent block */
.f {
  /* mid */
}
.f .i {
  z: 3;
}
.f .j {
  w: 4;
}