swc/crates/swc_ecma_minifier/tests/terser/compress/sequences
Donny/강동윤 68e9017376
fix(es/minifier): Improve minifier (#3350)
swc_ecma_transforms_optimization:
 - `expr_simplifier`: Track more changes.

swc_ecma_minifier:
 - Analyze after applying the pure optimizer.
 - Preserve access to a variable not in scope.
 - `compress`: Remove string literal if it was not a directive.
 - `pure/collapse_vars`: Merge vars declared in the first statement into one with initializers if `collapse_vars` and `join_vars` are enabled.
 - `unused`: Use `usage_count` instead of `ref_count`.
 - `unused`: Fix dropping rule for member expressions.
 - `unused`: Fix dropping rule for declarations.
 - `hoist_props`: Preserve exported items.
2022-01-27 15:36:22 +09:00
..
call refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
cascade_assignment_in_return refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
delete_seq_1 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
delete_seq_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
delete_seq_3 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
delete_seq_4 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
delete_seq_5 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
delete_seq_6 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
for_init_var refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
for_sequences refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
forin refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
func_def_1 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
func_def_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
func_def_3 fix(es/minifier): Fix bugs (#3238) 2022-01-12 16:57:54 +09:00
func_def_4 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
func_def_5 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
hoist_decl refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
hoist_defun refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
iife refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_27 fix(es/minifier): Improve minifier (#3350) 2022-01-27 15:36:22 +09:00
issue_1685 fix(swc/hygiene): Prefer not renaming top level variables (#2940) 2021-12-04 01:55:27 +09:00
issue_1758 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2062 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2313 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
lift_sequences_1 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
lift_sequences_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
lift_sequences_3 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
lift_sequences_4 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
lift_sequences_5 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
lift_sequences_6 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
limit_1 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
limit_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
make_sequences_1 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
make_sequences_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
make_sequences_3 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
make_sequences_4 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
negate_iife_for fix(es/minifier): Don't create top level variables (#2985) 2021-12-07 18:02:43 +09:00
reassign_const refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
side_effects refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
side_effects_cascade_1 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
side_effects_cascade_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
side_effects_cascade_3 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_undefined refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00