Loader for webpack which uses Rework (https://github.com/reworkcss/rework) post-processor for CSS
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

rework-loader for webpack

Rework loader for webpack which post-processes your CSS with Rework.

Installation

npm install rework-loader

Usage

Documentation: Using loaders

var css = require("style!css!rework!./file.css");
// => returns css post processed with your rework config

Configuration

var rework_plugin = require('rework_plugin');

// Other parts of webpack.config

module: {
  loaders: [
    { test: /\.css$/, loader: "style-loader!css-loader!rework-loader" },
    ...
  ]
},
rework: {
  use: [rework_plugin()]
}

License

MIT (http://www.opensource.org/licenses/mit-license.php)