Adds the ability for less to be post-processed by autoprefixer
JavaScript
Latest commit 8497964 Sep 24, 2015 @lukeapage lukeapage 1.5.1 release
Permalink
Failed to load latest commit information.
lib Add sources from autoprefixer to fix #17 Sep 24, 2015
.gitignore initial working version Sep 18, 2014
LICENSE Update LICENSE Sep 17, 2015
README.md Better code highlight Mar 13, 2015
package.json 1.5.1 release Sep 24, 2015

README.md

NPM version Dependencies devDependency Status optionalDependency Status

less-plugin-autoprefix

Uses autoprefixer to add prefixes to css after conversion from less.

lessc usage

Install..

npm install -g less-plugin-autoprefix

and then on the command line,

lessc file.less --autoprefix="browsers"

The browsers are a comma seperated list of browsers as specified with autoprefixer.

Programmatic usage

var LessPluginAutoPrefix = require('less-plugin-autoprefix'),
    autoprefixPlugin = new LessPluginAutoPrefix({browsers: ["last 2 versions"]});
less.render(lessString, { plugins: [autoprefixPlugin] })
  .then(

Browser usage

Browser usage is not supported at this time.