Skip to content

okonet/rework-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Loader for webpack which uses Rework (https://github.com/reworkcss/rework) post-processor for CSS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published