aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorolsonpm <olsonpm@users.noreply.github.com>2017-05-12 23:54:32 -0500
committerAlex Lam S.L <alexlamsl@gmail.com>2017-05-13 12:54:32 +0800
commitfd0951231cce6aa2710bdb4f0ff8a963596f842c (patch)
tree0f2fcd6dab80af12159fbef9d7092568af2c236f
parent9e29b6dad21ab796dbf67d6886c198f3be7a29a0 (diff)
downloadtracifyjs-fd0951231cce6aa2710bdb4f0ff8a963596f842c.tar.gz
tracifyjs-fd0951231cce6aa2710bdb4f0ff8a963596f842c.zip
document 3 max passes (#1928)
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 33a9c716..6f24b0a2 100644
--- a/README.md
+++ b/README.md
@@ -402,9 +402,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.