Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Preprocess CSS with Rework
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
.editorconfig
.gitattributes
.gitignore Initial commit
.jshintrc Tweaks
.travis.yml
Brocfile.js
index.js
license
package.json
readme.md

readme.md

broccoli-rework Build Status

Preprocess CSS with Rework

Install

$ npm install --save-dev 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, options)

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

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

Something went wrong with that request. Please try again.