Skip to content

Commit

Permalink
2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed May 8, 2016
1 parent 34745de commit 5089ff6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2.1.0 (May 8, 2016)

- new option `comments` to specify what comments to left: `exclamation`, `first-exclamation` and `none`
- add `offset` to CSS parse error details
- fix token `offset` computation

## 2.0.0 (April 5, 2016)

- No more `gonzales` AST format and related code
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ csso [input] [output] [options]
Options:
--comments <value> Comments to keep: exclamation (default), first-exclamation or none
--debug [level] Output intermediate state of CSS during compression
-h, --help Output usage information
-i, --input <filename> Input file
Expand Down Expand Up @@ -290,6 +291,10 @@ Do the main task – compress AST.
Options:

- restructure `Boolean` – do the structure optimisations or not (`true` by default)
- comments `String` or `Boolean` – specify what comments to left
- `'exclamation'` or `true` (default) – left all exclamation comments (i.e. `/*! .. */`)
- `'first-exclamation'` – remove every comments except first one
- `false` – remove every comments
- usage `Object` - usage data for advanced optimisations (see [Usage data](#usage-data) for details)
- logger `Function` - function to track every step of transformations

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "csso",
"version": "2.0.0",
"version": "2.1.0",
"description": "CSSO (CSS Optimizer) is a CSS minifier with structural optimisations",
"keywords": [
"css",
Expand Down

0 comments on commit 5089ff6

Please sign in to comment.