gulp-query-less
Less for gulp-query
Uses cssnano with autoprefixer for optimization
This plugin provides automatic source maps, compiling Less into CSS, autoprefixing and minification. Write your CSS rules without vendor prefixes — autoprefixer will do everything itself
npm install gulp-query gulp-query-less
Example
Paste the code into your gulpfile.js
and configure it
let build = less = ;;
And feel the freedom
gulp
gulp --production // For production
gulp watch // Watching change
gulp less // Only for less
gulp less:app // Only for app.less
gulp less:admin less:main watch // Watching change only for admin and main
...
Options