From 3eb9101918e1c8127f960624bd11f3707215b012 Mon Sep 17 00:00:00 2001 From: Bryan Rayner Date: Wed, 27 Jan 2016 14:24:32 -0600 Subject: [PATCH] Add mangleProperties documentation to README Add additional documentation to mangleProperties. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) 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! -- 2.34.1