From: Bryan Rayner Date: Wed, 27 Jan 2016 20:24:32 +0000 (-0600) Subject: Add mangleProperties documentation to README X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=3eb9101918e1c8127f960624bd11f3707215b012;p=UglifyJS.git Add mangleProperties documentation to README Add additional documentation to mangleProperties. --- 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!