From 3c740473686178c242f66d3ad330e1b047335b5f Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sat, 11 Nov 2017 05:59:35 +0800 Subject: 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 --- test/compress/switch.js | 1 + 1 file changed, 1 insertion(+) (limited to 'test/compress/switch.js') diff --git a/test/compress/switch.js b/test/compress/switch.js index 03c1e00a..7f57a877 100644 --- a/test/compress/switch.js +++ b/test/compress/switch.js @@ -714,6 +714,7 @@ issue_1705_2: { options = { dead_code: true, evaluate: true, + reduce_funcs: true, reduce_vars: true, sequences: true, side_effects: true, -- cgit v1.2.3