3.0.0 • Published 2 years ago

@beanbag/less-plugin-autoprefix v3.0.0

Weekly downloads
8
License
-
Repository
github
Last release
2 years ago

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 @beanbag/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('@beanbag/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.