broccoli-rework

1.0.0 • Public • Published

broccoli-rework Build Status

Preprocess CSS with Rework

Install

$ npm install --save broccoli-rework

Usage

var rework = require('broccoli-rework');
var colors = require('rework-plugin-colors');
 
tree = rework(tree, { use: function (css) {
    css.use(colors());
}});

API

rework(tree, opts)

Initialize a new rework with the given string of regular CSS. Optionally supply an object with options as the last argument.

Options

use

Type: Function
Default: undefined

Accepts a function that gives you the ability to interact with rework before compiling. Useful for adding on plugins, etc.

License

MIT © Kevin Mårtensson

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1
  • 0.1.4
    1
  • 0.1.3
    1
  • 0.1.2
    1
  • 0.1.1
    1

Package Sidebar

Install

npm i broccoli-rework

Weekly Downloads

5

Version

1.0.0

License

MIT

Last publish

Collaborators

  • kevva