The problem here is that recursive glob **
is not supported in glob
module (yet; see issue 13968).
Here's how I have set this up in one of my projects (not sure if that would suit your needs):
less/
├── bootstrap/
│ ├── bootstrap.less
│ ├── variables.less
│ └── ...
└── style.less # @import "bootstrap/bootstrap.less";
Bundle configuration:
css = Bundle(
"less/style.less",
filters="less, cssmin",
output="css/all.css",
depends="less/bootstrap/*.less"
)