update README
authoralexlamsl <alexlamsl@gmail.com>
Fri, 18 Mar 2016 10:55:23 +0000 (18:55 +0800)
committeralexlamsl <alexlamsl@gmail.com>
Mon, 21 Mar 2016 20:25:43 +0000 (04:25 +0800)
README.md
sample-cli-config-file.conf

index 87b3811..99d201c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -64,6 +64,7 @@ How does HTMLMinifier compare to other solutions — [HTML Minifier from Will Pe
 | `ignoreCustomComments`         | Array of regex'es that allow to ignore certain comments, when matched  | `[ ]` |
 | `ignoreCustomFragments`        | Array of regex'es that allow to ignore certain fragments, when matched (e.g. `<?php ... ?>`, `{{ ... }}`, etc.)  | `[ /<%[\s\S]*?%>/, /<\?[\s\S]*?\?>/ ]` |
 | `processScripts`               | Array of strings corresponding to types of script elements to process through minifier (e.g. `text/ng-template`, `text/x-handlebars-template`, etc.) | `[ ]` |
+| `processConditionalComments`   | Process contents of conditional comments through minifier | `false` |
 | `maxLineLength`                | Specify a maximum line length. Compressed output will be split by newlines at valid HTML split-points. |
 | `customEventAttributes`        | Arrays of regex'es that allow to support custom event attributes for `minifyJS` (e.g. `ng-click`) | `[ /^on[a-z]{3,}$/ ]` |
 | `customAttrAssign`             | Arrays of regex'es that allow to support custom attribute assign expressions (e.g. `'<div flex?="{{mode != cover}}"></div>'`) | `[ ]` |
index 40f0265..7b1a16d 100644 (file)
@@ -21,5 +21,6 @@
   "minifyCSS": true,
   "includeAutoGeneratedTags": false,
   "ignoreCustomComments": [],
+  "processConditionalComments": true,
   "processScripts": []
 }