taskr-autoprefixer
PostCSS Autoprefixer plugin for Taskr.
This is a merely convenience layer for PostCSS + Autoprefixer.
You may elect to use @taskr/postcss and require('autoprefixer') instead. In fact, you probably should if you're using other PostCSS plugins!
#Install
npm install --save-dev taskr-autoprefixer
#Usage
exports.default = function * (task) {
yield task.source('src/**/*.sass')
.sass()
.autoprefixer({
browsers: ['last 5 versions']
})
.target('dist/css');
}
Note: If using a CSS preprocessing tool (eg: SASS, Stylus, LESS),
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 for a full list of available options.
#License
MIT © Luke Edwards
See also
clsx(3), @polka/cluster(3), @pwa/cli(3), uvu(3), taskr(3), sockette(3), klona(3), kleur(3), dequal(3), sirv-cli(3)