Webpack Pleeease loader
JavaScript
Latest commit daf356a Jul 10, 2015 @t8g t8g Links in README.md
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json

README.md

Pleeease for Webpack

Pleeease loader for webpack to postprocesses your CSS.

Install

npm install pleeease-loader --save-dev

Usage

Within webpack config :

module.exports = {
    module: {
        loaders: [
            {
                test:   /\.css$/,
                loader: "style!css!pleeease"
            }
        ]
    }
}

Now your CSS files requirements will be processed by Pleeease.

Options

Add a pleeease section in webpack config :

module.exports = {
    module: {
        loaders: [
            {
                test:   /\.styl$/,
                loader: "style!css!pleeease"
            }
        ]
    },
    pleeease: {
        stylus: true,
        autoprefixer: { browsers: ["last 4 versions", "ios 6"]},
        minifier: true,
        mqpacker: true
    }
}