Autoprefixer plugin for Fly.
npm install --save-dev fly-autoprefixer
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.
This plugin does not have any custom options. Please visit autoprefixer options for a full list of available options.
MIT © Luke Edwards