diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-11-11 05:59:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-11 05:59:35 +0800 |
commit | 3c740473686178c242f66d3ad330e1b047335b5f (patch) | |
tree | 0ee897d27731ae245c07deeddb06d183f342b976 /test/compress/screw-ie8.js | |
parent | 94525d859f5db559366f96b646aca84438b0f982 (diff) | |
download | tracifyjs-3c740473686178c242f66d3ad330e1b047335b5f.tar.gz tracifyjs-3c740473686178c242f66d3ad330e1b047335b5f.zip |
implement compress option `reduce_funcs` (#2466)
- inline single-use function declarations as expressions when permissible
- depend on `reduce_vars`
- enabled by default
- disable for speed critical code
fixes #2464
Diffstat (limited to 'test/compress/screw-ie8.js')
-rw-r--r-- | test/compress/screw-ie8.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/compress/screw-ie8.js b/test/compress/screw-ie8.js index 66559b0b..82152b7d 100644 --- a/test/compress/screw-ie8.js +++ b/test/compress/screw-ie8.js @@ -187,6 +187,7 @@ dont_screw_try_catch_undefined: { reduce_vars: { options = { evaluate: true, + reduce_funcs: true, reduce_vars: true, ie8: true, unused: true, |