Less compiler gets stuck when mixins are declared multiple times

293 Views Asked by At

I want to join multiple bootstrap based addons/themes into one vendor.css:

// Twitter Bootstrap v3.0.3
@import "vendor/bootstrap/less/bootstrap.less";

// Jasny Bootstrap v3.0.1-p7
@import "vendor/bootstrap-jasny/less/jasny-bootstrap.less";

Both files include a mixins.less with a different file path. As soon as I delete @import "mixins.less"; in jasny-bootstrap.less everything works fine, otherwise the compiler (grunt-contrib-less v0.9.0) gets stuck.

Since I use bower for package management, it's not an option for me to modify any vendor files. Do I have any other chance to get this to work than compiling every vendor on its own?

0

There are 0 best solutions below