How to use the autoprefixer.rework function in autoprefixer

To help you get started, we’ve selected a few autoprefixer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ianstormtaylor / rework-pure-css / index.js View on Github external
var prefixes = require('autoprefixer')().rework;
var vars = require('rework-vars')();
var variant = require('rework-font-variant');


/**
 * Expose `plugin`.
 */

module.exports = plugin;


/**
 * Apply all of our pure-CSS plugins to a `rework` instance.
 *
 * @param {Object} stylesheet
 * @param {Object} rework