diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2020-09-18 14:35:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-18 21:35:29 +0800 |
commit | 38a46c86d7163002ad079eb9dd690e18b5c9da8f (patch) | |
tree | 9a1a4c1cfdd93c6aa577f53c6a143715fbb4707f /README.md | |
parent | 0f0759ec15d32673333b2397882a7f3e043d4cf9 (diff) | |
download | tracifyjs-38a46c86d7163002ad079eb9dd690e18b5c9da8f.tar.gz tracifyjs-38a46c86d7163002ad079eb9dd690e18b5c9da8f.zip |
enhance `side_effects` (#4124)
- add documentation for `merge_vars`
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -688,6 +688,8 @@ to be `false` and all symbol names will be omitted. - `loops` (default: `true`) -- optimizations for `do`, `while` and `for` loops when we can statically determine the condition. +- `merge_vars` (default: `true`) -- combine and reuse variables. + - `negate_iife` (default: `true`) -- negate "Immediately-Called Function Expressions" where the return value is discarded, to avoid the parens that the code generator would insert. |