diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-10-29 04:11:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-29 04:11:26 +0800 |
commit | 8428326ea120dece51b70d7bba63dda8eda14fd6 (patch) | |
tree | 8c634bb30a6845048dee5cc27590a4a654d7ac24 /test/compress/reduce_vars.js | |
parent | 31f82091930b39ebb5d9358951c39ae20cf8057e (diff) | |
download | tracifyjs-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.js | 1 |
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, |