aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Rayner <bryanerayner@gmail.com>2016-01-27 14:24:32 -0600
committerBryan Rayner <bryanerayner@gmail.com>2016-01-27 14:24:32 -0600
commit3eb9101918e1c8127f960624bd11f3707215b012 (patch)
tree6bc93b522a1828d46c7a7ab7f95e52d1fe1af543
parent0a38a688f9a327d677d7f8314b5c4dcf4590b798 (diff)
downloadtracifyjs-3eb9101918e1c8127f960624bd11f3707215b012.tar.gz
tracifyjs-3eb9101918e1c8127f960624bd11f3707215b012.zip
Add mangleProperties documentation to README
Add additional documentation to mangleProperties.
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9cde9ee8..4bd1cab5 100644
--- a/README.md
+++ b/README.md
@@ -636,6 +636,10 @@ Other options:
- `compress` (default `{}`) — pass `false` to skip compressing entirely.
Pass an object to specify custom [compressor options][compressor].
+##### mangleProperties options
+
+ - `regex` — Pass a RegExp to only mangle certain names (maps to the `--mange-regex` CLI arguments option)
+
We could add more options to `UglifyJS.minify` — if you need additional
functionality please suggest!