rework-loader
v0.1.1
Published
rework loader for webpack
Downloads
12
Readme
rework-loader for webpack
Rework loader for webpack which post-processes your CSS with Rework.
Installation
npm install rework-loader
Usage
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)