A LESS plugin for Gulp that compiles Less files into CSS. Currently at version 5.0.0, it supports Less 3.7+ and 4.0+, and requires Node >=6. It integrates with Gulp streams, allows custom include paths and Less plugins, and works alongside gulp-sourcemaps for source map generation. Unlike other LESS processors, it is designed specifically for the Gulp build system, leveraging its streaming pipeline for efficient asset processing.
npm install gulp-lessNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Compile all .less files from src/less into CSS, with custom include paths for @import resolution.
Remove `compress` option and pipe through a CSS minifier plugin.
Initialize sourcemaps before less() and write after, not via Less sourceMap option.
Remove any manual `filename` option from less() call.
Migrate tasks to Gulp 4's exported function pattern: exports.less = () => ...
Remove `filename` option from less() call.
Check Less version compatibility; use only supported options: `paths`, `plugins`, and Less 4 options.