Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/byteclubfr/pleeease-loader

Webpack Pleeease loader
https://github.com/byteclubfr/pleeease-loader

Last synced: 1 day ago
JSON representation

Webpack Pleeease loader

Awesome Lists containing this project

README

        

# Pleeease for Webpack

[Pleeease](pleeease.io) loader for [webpack](webpack.github.io) to postprocesses your CSS.

## Install

`npm install pleeease-loader --save-dev`

## Usage

Within webpack config :

```js
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 :

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

```