rework-loader

0.1.1 • Public • Published

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)

Package Sidebar

Install

npm i rework-loader

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • okonet