aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-09-18 14:35:29 +0100
committerGitHub <noreply@github.com>2020-09-18 21:35:29 +0800
commit38a46c86d7163002ad079eb9dd690e18b5c9da8f (patch)
tree9a1a4c1cfdd93c6aa577f53c6a143715fbb4707f /README.md
parent0f0759ec15d32673333b2397882a7f3e043d4cf9 (diff)
downloadtracifyjs-38a46c86d7163002ad079eb9dd690e18b5c9da8f.tar.gz
tracifyjs-38a46c86d7163002ad079eb9dd690e18b5c9da8f.zip
enhance `side_effects` (#4124)
- add documentation for `merge_vars`
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 964faf46..6c549768 100644
--- a/README.md
+++ b/README.md
@@ -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.