Skip to content

Adds the ability for less to be post-processed by autoprefixer

License

Notifications You must be signed in to change notification settings

hulkish/less-plugin-autoprefix

This branch is 28 commits behind less/less-plugin-autoprefix:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d157236 · Jan 14, 2015

History

20 Commits
Nov 9, 2014
Sep 18, 2014
Sep 9, 2014
Oct 26, 2014
Jan 14, 2015

Repository files navigation

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.

About

Adds the ability for less to be post-processed by autoprefixer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%