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
How to add plugins?
npm install -g less less-plugin-glob
- Create file with import by glob, something like
lessc --glob styles.less styles.cssand enjoy whole your styles concated by one line
- Install plugin locally
npm install less-plugin-glob
- Import it and add into
pluginssection of options.
If you are using Gulp or Grunt or something else, you can import and add plugin by same way as well.