Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/byteclubfr/pleeease-loader
- Owner: byteclubfr
- Created: 2015-07-10T07:26:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-30T09:41:53.000Z (about 9 years ago)
- Last Synced: 2024-11-15T19:49:43.509Z (1 day ago)
- Language: JavaScript
- Size: 153 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
}
}```