Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zhuping/mat-autoprefixer
- Owner: zhuping
- License: mit
- Created: 2017-07-05T08:07:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-05T08:36:47.000Z (over 7 years ago)
- Last Synced: 2024-10-29T20:57:19.151Z (17 days ago)
- Topics: autoprefixer, mat, postcss
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
}))
})
```
## OptionsSee the Autoprefixer [options](https://github.com/postcss/autoprefixer#options).