From 3eed8181d9164447870ecd6d1ccf4ca3ee68073c Mon Sep 17 00:00:00 2001 From: Shrey Banga Date: Mon, 13 Jun 2016 15:21:39 -0700 Subject: [PATCH] Explain mangle-props better in readme --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 56f980a2..0a6e1b92 100644 --- a/README.md +++ b/README.md @@ -135,14 +135,14 @@ The available options are: --mangle-props --mangle-props Mangle property names (default `0`). Set to `true` or `1` to mangle all property names. Set - to `2` to only mangle unquoted property names. - This also enables the `keep_quoted_props` - beautifier option to preserve the quotes around - property names and disables the `properties` - compressor option to prevent rewriting quoted - properties with dot notation. You can override - these by setting them explicitly on the command - line. + to `unquoted` or `2` to only mangle unquoted + property names. Mode `2` also enables the + `keep_quoted_props` beautifier option to + preserve the quotes around property names and + disables the `properties` compressor option to + prevent rewriting quoted properties with dot + notation. You can override these by setting + them explicitly on the command line. --mangle-regex Only mangle property names matching the regex --name-cache File to hold mangled names mappings --pure-funcs List of functions that can be safely removed if