diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2018-03-02 11:22:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-02 11:22:09 +0800 |
commit | a75a046abbc1f93fbb2235c99a1fc1d543faf9e9 (patch) | |
tree | 96b5276f6ae63de5038ee133bd30633e80743bc2 /README.md | |
parent | 38f2b4579fc2c8f7fa4e31b544dc93be9dcb031e (diff) | |
download | tracifyjs-a75a046abbc1f93fbb2235c99a1fc1d543faf9e9.tar.gz tracifyjs-a75a046abbc1f93fbb2235c99a1fc1d543faf9e9.zip |
compress `arguments[index]` (#2967)
- always replace with existing parameter
- only introduce new parameter if `keep_fargs` is disabled
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -598,6 +598,9 @@ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.u ## Compress options +- `arguments` (default: `true`) -- replace `arguments[index]` with function + parameter name whenever possible. + - `booleans` (default: `true`) -- various optimizations for boolean context, for example `!!a ? b : c → a ? b : c` |