Suppose I have two less files, first.less
.a {
.b {
font-size: 13px;
}
color: lime;
}
and second.less
@import "first.less";
.a {
font-family: sans-serif;
}
I would like to combine them into one by combining trees:
.a {
.b {
font-size: 13px;
}
color: lime;
font-family: sans-serif;
}
So, something similar to compiling on .css, but preserving the structure .less. Is it possible to do this using a command line tool, a library, or programmatically?
source
share