node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

task-autoprefixer

task-autoprefixer

Add vendor prefixes to CSS rules with autoprefixer.

The "autoprefixer" task

Usage Examples

var autoprefixer = new (require('task-autoprefixer'))
autoprefixer.run(inputs, options, logger)

Options

options.browsers

Type: array Defaults: '['> 1%', 'last 2 versions']'

You can specify browsers actual for your project:

{
  browsers: ['last 2 version', 'ie 8', 'ie 9']
}

Read more.

options.cascade

Type: boolean Default: 'false'

Pass true to enable ‘cascade’ indentation. Read more here.

Release History

(Nothing yet)

License

Copyright (c) 2014 Yuanyan Cao. Licensed under the MIT license.