postcss-autoprefixer-stream
A postcss-autoprefixer stream wrapper around postcss with autoprefixer.
Takes a file argument and an optional opts argument that is passed through to postcss. Returns a through stream that has autoprefixer contents written in and outputs the compiled css.
Can be as a parcelify or cartero transform.
example
var transform = ;var fs = ;var path = ; var inputFile = path; var opts = {}; fs;
usage
transform( file [, processOpts] [, autoprefixerOpts ] )
file
- the css file to transform
processOpts
- optional options hash passed through to postcss.process
autoprefixerOpts
- optional options hash passed through to autoprefixer
constructor