[Pkg-javascript-commits] [uglifyjs] 20/50: document 3 max passes (#1928)
Jonas Smedegaard
dr at jones.dk
Thu Aug 17 23:06:44 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository uglifyjs.
commit d0b0aecfc5a058111685684aa1f5b39ebf55b7c4
Author: olsonpm <olsonpm at users.noreply.github.com>
Date: Fri May 12 23:54:32 2017 -0500
document 3 max passes (#1928)
---
README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 3edb417..ac29e79 100644
--- a/README.md
+++ b/README.md
@@ -436,9 +436,9 @@ to set `true`; it's effectively a shortcut for `foo=true`).
compressor from discarding function names. Useful for code relying on
`Function.prototype.name`. See also: the `keep_fnames` [mangle option](#mangle).
-- `passes` -- default `1`. Number of times to run compress. Use an
- integer argument larger than 1 to further reduce code size in some cases.
- Note: raising the number of passes will increase uglify compress time.
+- `passes` -- default `1`. Number of times to run compress with a maximum of 3.
+ In some cases more than one pass leads to further compressed code. Keep in
+ mind more passes will take more time.
- `keep_infinity` -- default `false`. Pass `true` to prevent `Infinity` from
being compressed into `1/0`, which may cause performance issues on Chrome.
--
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