From e077ad8523ca0a14c60f8ea1217fd323b9e3bd02 Mon Sep 17 00:00:00 2001 From: alexlamsl Date: Sun, 31 Jan 2016 14:18:39 +0800 Subject: [PATCH] add ignoreCustomFragments to command-line fixes #464 --- cli.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cli.js b/cli.js index 7b4c793..43a60e5 100755 --- a/cli.js +++ b/cli.js @@ -82,6 +82,7 @@ var mainOptions = { minifyCSS: [[false, 'Minify CSS in style elements and style attributes (uses clean-css)']], minifyURLs: [[false, 'Minify URLs in various attributes (uses relateurl)']], ignoreCustomComments: [[false, 'Array of regex\'es that allow to ignore certain comments, when matched', 'string'], 'json-regex'], + ignoreCustomFragments: [[false, 'Array of regex\'es that allow to ignore certain fragments, when matched (e.g. , {{ ... }})', 'string'], 'json-regex'], processScripts: [[false, 'Array of strings corresponding to types of script elements to process through minifier (e.g. "text/ng-template", "text/x-handlebars-template", etc.)', 'string'], 'json-regex'], maxLineLength: [[false, 'Max line length', 'number'], true], customEventAttributes: [[false, 'Arrays of regex\'es that allow to support custom event attributes for minifyJS (e.g. ng-click)', 'string'], 'json-regex'], -- 2.34.1