aboutsummaryrefslogtreecommitdiff
path: root/test/compress/reduce_vars.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2017-10-29 04:11:26 +0800
committerGitHub <noreply@github.com>2017-10-29 04:11:26 +0800
commit8428326ea120dece51b70d7bba63dda8eda14fd6 (patch)
tree8c634bb30a6845048dee5cc27590a4a654d7ac24 /test/compress/reduce_vars.js
parent31f82091930b39ebb5d9358951c39ae20cf8057e (diff)
downloadtracifyjs-8428326ea120dece51b70d7bba63dda8eda14fd6.tar.gz
tracifyjs-8428326ea120dece51b70d7bba63dda8eda14fd6.zip
enhance `properties` (#2412)
- trim array items only if `side_effects` - extend to non-identifier properties
Diffstat (limited to 'test/compress/reduce_vars.js')
-rw-r--r--test/compress/reduce_vars.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/compress/reduce_vars.js b/test/compress/reduce_vars.js
index ac4fa40b..d7fdee18 100644
--- a/test/compress/reduce_vars.js
+++ b/test/compress/reduce_vars.js
@@ -2973,6 +2973,7 @@ obj_var_2: {
passes: 2,
properties: true,
reduce_vars: true,
+ side_effects: true,
toplevel: true,
unsafe: true,
unused: true,