From f981e97f54607076006df2ca54dd5913af0ab6f7 Mon Sep 17 00:00:00 2001 From: alexlamsl Date: Fri, 18 Mar 2016 18:55:23 +0800 Subject: [PATCH] update README --- README.md | 1 + sample-cli-config-file.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 87b3811..99d201c 100644 --- 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. ``, `{{ ... }}`, 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. `'
'`) | `[ ]` | diff --git a/sample-cli-config-file.conf b/sample-cli-config-file.conf index 40f0265..7b1a16d 100644 --- a/sample-cli-config-file.conf +++ b/sample-cli-config-file.conf @@ -21,5 +21,6 @@ "minifyCSS": true, "includeAutoGeneratedTags": false, "ignoreCustomComments": [], + "processConditionalComments": true, "processScripts": [] } -- 2.34.1