aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2019-11-16 06:10:47 +0800
committerGitHub <noreply@github.com>2019-11-16 06:10:47 +0800
commit552be61c4d6756fb31675fee0b1284e23d5d8721 (patch)
tree4e7cf68f49301fe0e4cf7707c7c78ef68bb553cf /README.md
parentdcfc4aca5b97419150e742f2f94c40cdd8497189 (diff)
downloadtracifyjs-552be61c4d6756fb31675fee0b1284e23d5d8721.tar.gz
tracifyjs-552be61c4d6756fb31675fee0b1284e23d5d8721.zip
introduce eager evaluation (#3587)
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index f686889d..f86bf7ad 100644
--- a/README.md
+++ b/README.md
@@ -631,7 +631,10 @@ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.u
- `drop_debugger` (default: `true`) -- remove `debugger;` statements
-- `evaluate` (default: `true`) -- attempt to evaluate constant expressions
+- `evaluate` (default: `true`) -- Evaluate expression for shorter constant
+ representation. Pass `"eager"` to always replace function calls whenever
+ possible, or a positive integer to specify an upper bound for each individual
+ evaluation in number of characters.
- `expression` (default: `false`) -- Pass `true` to preserve completion values
from terminal statements without `return`, e.g. in bookmarklets.