[Pkg-javascript-commits] [uglifyjs] 102/190: Add mangleProperties documentation to README
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun Aug 7 23:17:17 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to annotated tag upstream/2.7.0
in repository uglifyjs.
commit 3eb9101918e1c8127f960624bd11f3707215b012
Author: Bryan Rayner <bryanerayner at gmail.com>
Date: Wed Jan 27 14:24:32 2016 -0600
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 9cde9ee..4bd1cab 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!
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git
More information about the Pkg-javascript-commits
mailing list