broccoli-autoprefixer

Prefix CSS using Autoprefixer

broccoli-autoprefixer

Prefix CSS using Autoprefixer

Issues with the output should be reported on the Autoprefixer issue tracker.

$ npm install --save-dev broccoli-autoprefixer
var autoprefixer = require('broccoli-autoprefixer');
tree = autoprefixer(tree, options);

Type: array
Default: ['> 1%', 'last 2 versions', 'Firefox ESR', 'Opera 12.1']

The browsers you need to support.

Type: boolean
Default: true if the input has a sourcemap, otherwise false

Set to true to include a base64-encoded sourcemap at the end of the output.

If a sourcemap already exists in the input, Autoprefixer will automatically include an updated sourcemap in the output. Set this value to false to strip out the sourcemap entirely.

If you'd like to extract the inline sourcemap from the output, consider using a tool like broccoli-source-map.

Type: boolean
Default: true

Autoprefixer changes CSS indentation to create a nice visual cascade of prefixes.

MIT © Sindre Sorhus