aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkzc <zaxxon2011@gmail.com>2016-01-28 11:01:17 -0500
committerkzc <zaxxon2011@gmail.com>2016-01-28 11:01:17 -0500
commit00c8d1d24149e4172ce9ddd237e4c7620a1346d3 (patch)
tree0ffd2073ac19ad83e81e269d501b87841f489f39
parentaf2472d85e25e2bddad0b663b38281aeb61536e9 (diff)
downloadtracifyjs-00c8d1d24149e4172ce9ddd237e4c7620a1346d3.tar.gz
tracifyjs-00c8d1d24149e4172ce9ddd237e4c7620a1346d3.zip
collapse_vars: document option in README
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4bd1cab5..a04d0fc9 100644
--- a/README.md
+++ b/README.md
@@ -323,6 +323,9 @@ to set `true`; it's effectively a shortcut for `foo=true`).
- `cascade` -- small optimization for sequences, transform `x, x` into `x`
and `x = something(), x` into `x = something()`
+- `collapse_vars` -- default `false`. Collapse single-use var and const
+ definitions when possible.
+
- `warnings` -- display warnings when dropping unreachable code or unused
declarations etc.