Globbing support in Less-imports.
This plugin allows to import multiple files using glob expressions. Add this plugin and you can write import like this
@import "common/**";
@import "themes/**";
Section about plugins in Less documentation
npm install -g less less-plugin-glob
- Create file with import by glob, something like
@import "includes/**"
- Run
lessc --glob styles.less styles.css
and enjoy whole your styles concated by one line
Now glob imports are supported only on top-level stylesheets. In deep cases current dirrectory is lost and we can't properly resolve file paths.