leafo/lessphp — Issue #185: Nested Imports
Author: Barryvdh
Created: 2012-02-09 10:02:05+00:00
State: open

The new Initliazr (http://www.initializr.com/) release supports Bootstrap, on the following way:

@import "bootstrap/bootstrap.less";

body {
padding-top: 60px;
padding-bottom: 40px;
}

@import "bootstrap/responsive.less";

In bootstrap/bootstrap.less, the different bootstrap less files are included. But when I compile this with lessphp, the @imports are not being compiled, but instead the @import statements remain:

@import url("reset.less");
@import url("variables.less");
etc

These nested imports should also be compiled.