diff options
author | kzc <zaxxon2011@gmail.com> | 2016-01-28 11:01:17 -0500 |
---|---|---|
committer | kzc <zaxxon2011@gmail.com> | 2016-01-28 11:01:17 -0500 |
commit | 00c8d1d24149e4172ce9ddd237e4c7620a1346d3 (patch) | |
tree | 0ffd2073ac19ad83e81e269d501b87841f489f39 | |
parent | af2472d85e25e2bddad0b663b38281aeb61536e9 (diff) | |
download | tracifyjs-00c8d1d24149e4172ce9ddd237e4c7620a1346d3.tar.gz tracifyjs-00c8d1d24149e4172ce9ddd237e4c7620a1346d3.zip |
collapse_vars: document option in README
-rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |