mat-autoprefixer

0.0.1 • Public • Published

mat-autoprefixer

Installation

npm install --save-dev mat-autoprefixer

Basic Usage

var mat   = require('mat')
var less  = require('mat-less')
var autoprefixer = require('mat-autoprefixer')

mat.task('less', function () {
  mat.url([/.*\.css/])
    .rewrite([
      [/\.css/g, '.less']
    ])
    .use(less({sourceMap: {sourceMapFileInline: true}}))
    .use(autoprefixer({
      browsers: ['last 2 versions'],
      cascade: false
    }))
})

Options

See the Autoprefixer options.

Package Sidebar

Install

npm i mat-autoprefixer

Weekly Downloads

3

Version

0.0.1

License

MIT

Last publish

Collaborators

  • zhuping.zp