Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zhuping/mat-autoprefixer

Prefix CSS for mat
https://github.com/zhuping/mat-autoprefixer

autoprefixer mat postcss

Last synced: 7 days ago
JSON representation

Prefix CSS for mat

Awesome Lists containing this project

README

        

# mat-autoprefixer

## Installation

```sh
npm install --save-dev mat-autoprefixer
```

## Basic Usage

```javascript
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](https://github.com/postcss/autoprefixer#options).