Prefix CSS using Autoprefixer
JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
fixture
.editorconfig
.gitattributes
.gitignore
.travis.yml
Brocfile.js add `cascade` option Aug 4, 2014
index.js [fixes #11] use broccoli-persistent-filter Nov 12, 2015
license
package.json
readme.md
test.js add XO Sep 4, 2015

readme.md

broccoli-autoprefixer Build Status

Prefix CSS using Autoprefixer

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

Install

$ npm install --save-dev broccoli-autoprefixer

Usage

var autoprefixer = require('broccoli-autoprefixer');
tree = autoprefixer(tree, options);

API

autoprefixer(tree, [options])

options

See the Autoprefixer options.

In addition, you can set this option:

sourcemap

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.

License

MIT © Sindre Sorhus