Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lukeed/fly-autoprefixer

CSS Autoprefixer plugin for Fly.
https://github.com/lukeed/fly-autoprefixer

Last synced: about 2 months ago
JSON representation

CSS Autoprefixer plugin for Fly.

Awesome Lists containing this project

README

        

# fly-autoprefixer [![][travis-badge]][travis-link] [![npm package][npm-ver-link]][npm-ver-link]

> [Autoprefixer](https://github.com/lukeed/fly-autoprefixer) plugin for Fly.

## Install

```a
npm install --save-dev fly-autoprefixer
```

## Usage

```js
exports.styles = function * (fly) {
yield fly.source('src/styles/app.sass')
.sass()
.autoprefixer({
browsers: ['last 5 versions']
})
.target('dist/css');
}
```

> **Note:** If using a CSS preprocessing tool (SASS, Stylus, LESS, etc), `autoprefixer()` must be invoked _after_ the CSS has been compiled.

## API

### .autoprefixer(options)

This plugin does not have any custom options. Please visit [`autoprefixer` options](https://github.com/postcss/autoprefixer#options) for a full list of available options.

## License

MIT © [Luke Edwards](https://lukeed.com)

[npm-pkg-link]: https://www.npmjs.org/package/fly-autoprefixer
[npm-ver-link]: https://img.shields.io/npm/v/fly-autoprefixer.svg?style=flat-square
[travis-link]: https://travis-ci.org/lukeed/fly-autoprefixer
[travis-badge]: http://img.shields.io/travis/lukeed/fly-autoprefixer.svg?style=flat-square