public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a38a68
)
Add mangleProperties documentation to README
author
Bryan Rayner
<bryanerayner@gmail.com>
Wed, 27 Jan 2016 20:24:32 +0000
(14:24 -0600)
committer
Bryan Rayner
<bryanerayner@gmail.com>
Wed, 27 Jan 2016 20:24:32 +0000
(14:24 -0600)
Add additional documentation to mangleProperties.
README.md
patch
|
blob
|
history
diff --git
a/README.md
b/README.md
index
9cde9ee
..
4bd1cab
100644
(file)
--- 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!