I'm using LESS with Gulp. I'm also using the Autoprefixer plugin which adds all needed vendor prefixes based on Browserlist. This works pretty nice when creating all minified files for the final export.
My problem is: When I test the CSS in the developement environment using less.js there are no vendor prefixes added. It seems that the auto prefixer is only available for the cli. Is there a way to add vendor prefixes on the fly with less.js or another plug in? I've already tried to run prefixfree after less.js but without luck.
Just pipe a stream from
gulp-less
to autoprefixer, e.g.(This is using autoprefixer via
postcss
tool which is now recommended way. Before deprecation it the autoprefixer line whould be:.pipe(autoprefixer())
)