From 552be61c4d6756fb31675fee0b1284e23d5d8721 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sat, 16 Nov 2019 06:10:47 +0800 Subject: introduce eager evaluation (#3587) --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'README.md') 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. -- cgit v1.2.3