aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-12-24 01:56:02 +0000
committerGitHub <noreply@github.com>2020-12-24 09:56:02 +0800
commit6988cd95584ce8b66716c17afad9d2dcc71717d0 (patch)
treef120244c759de2ecc2b53329602a2fd3569d4633 /README.md
parent2390fae5c4b008aa1028ffdddaa071e4084ef8ac (diff)
downloadtracifyjs-6988cd95584ce8b66716c17afad9d2dcc71717d0.tar.gz
tracifyjs-6988cd95584ce8b66716c17afad9d2dcc71717d0.zip
replace `keep_fargs` default to `false` (#4443)
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index fa02e71f..4be02b5b 100644
--- a/README.md
+++ b/README.md
@@ -683,9 +683,9 @@ to be `false` and all symbol names will be omitted.
- `join_vars` (default: `true`) -- join consecutive `var` statements
-- `keep_fargs` (default: `strict`) -- Discard unused function arguments. Code
- which relies on `Function.length` will break if this is done indiscriminately,
- i.e. when passing `true`. Pass `false` to always retain function arguments.
+- `keep_fargs` (default: `false`) -- discard unused function arguments except
+ when unsafe to do so, e.g. code which relies on `Function.prototype.length`.
+ Pass `true` to always retain function arguments.
- `keep_fnames` (default: `false`) -- Pass `true` to prevent the
compressor from discarding function names. Useful for code relying on