Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/lukeed/fly-autoprefixer
- Owner: lukeed
- License: other
- Created: 2015-12-18T22:06:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-01T00:55:38.000Z (over 7 years ago)
- Last Synced: 2024-07-26T17:53:12.025Z (about 2 months ago)
- Language: JavaScript
- Size: 28.3 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
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