From b51c0db0b4f37491da33b4e3555609cc786834a7 Mon Sep 17 00:00:00 2001 From: alexlamsl Date: Mon, 7 Mar 2016 18:51:11 +0800 Subject: [PATCH] update docs and benchmark conf --- README.md | 1 + sample-cli-config-file.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index b266afa..f8f5ccd 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ How does HTMLMinifier compare to other solutions — [HTML Minifier from Will Pe | `minifyJS` | Minify Javascript in script elements and event attributes (uses [UglifyJS](https://github.com/mishoo/UglifyJS2)) | `false` (could be `true`, `false`, `Object` (options)) | | `minifyCSS` | Minify CSS in style elements and style attributes (uses [clean-css](https://github.com/jakubpawlowicz/clean-css)) | `false` (could be `true`, `false`, `Object` (options)) | | `minifyURLs` | Minify URLs in various attributes (uses [relateurl](https://github.com/stevenvachon/relateurl)) | `false` (could be `Object` (options)) | +| `includeAutoGeneratedTags` | Insert tags generated by HTML parser | `true` | | `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.) | `[ ]` | diff --git a/sample-cli-config-file.conf b/sample-cli-config-file.conf index 9c21889..40f0265 100644 --- a/sample-cli-config-file.conf +++ b/sample-cli-config-file.conf @@ -19,6 +19,7 @@ "caseSensitive": false, "minifyJS": true, "minifyCSS": true, + "includeAutoGeneratedTags": false, "ignoreCustomComments": [], "processScripts": [] } -- 2.34.1