Skip to content

byteclubfr/pleeease-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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
    }
}

Releases

No releases published

Packages

No packages published