Document the except option to mangle
authorAsia <joanna.turban@gmail.com>
Sat, 18 Jun 2016 20:17:51 +0000 (22:17 +0200)
committerRichard van Velzen <rvanvelzen1@gmail.com>
Sun, 19 Jun 2016 19:17:31 +0000 (21:17 +0200)
Added documentation for the `except` option to the `mangle` option in the API reference.

README.md

index 293608e..2ab9de6 100644 (file)
--- a/README.md
+++ b/README.md
@@ -676,6 +676,10 @@ Other options:
 - `parse` (default {}) — pass an object if you wish to specify some
   additional [parser options][parser]. (not all options available... see below)
 
+##### mangle
+
+ - `except` - pass an array of identifiers that should be excluded from mangling
+
 ##### mangleProperties options
 
  - `regex` — Pass a RegExp to only mangle certain names (maps to the `--mangle-regex` CLI arguments option)