Skip to content

Commit

Permalink
docs for v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yomed committed Jul 19, 2015
1 parent 7ad9a96 commit 7faea08
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
29 changes: 28 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
# lasso-clean-css

Plugin for [Lasso.js](https://github.com/lasso-js/lasso) that adds support for minifying CSS using [clean-css](https://github.com/jakubpawlowicz/clean-css).
[Lasso.js](https://github.com/lasso-js/lasso) plugin to minify CSS using
[clean-css](https://github.com/jakubpawlowicz/clean-css).


## Installation

```text
npm install lasso-clean-css --save
```

## Usage

This plugin can be included through Lasso configuration. You should disable the default Lasso.js minifier,
otherwise both minification transforms will execute. Any [clean-css](https://github.com/jakubpawlowicz/clean-css)
options can be passed through `config`. The revelant portion of configuration should look something like this:

```json
{
"plugins": [
"lasso-less",
{
"plugin": "lasso-clean-css",
"config": {...}
}
],
"minify": false
}
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lasso-clean-css",
"version": "0.0.1",
"version": "1.0.0",
"description": "Lasso.js plugin to minify CSS using clean-css",
"keywords": [
"lasso",
Expand Down

0 comments on commit 7faea08

Please sign in to comment.