swc/crates/swc_ecma_minifier/tests/terser/compress/inline
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
..
do_not_repeat_when_variable_larger_than_inlined_node refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
dont_inline_funcs_into_default_param refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
dont_inline_funcs_into_default_param_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
inline_annotation refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
inline_annotation_2 fix(es/minifier): Improve minifier (#3350) 2022-01-27 15:36:22 +09:00
inline_func_with_name_existing_in_block_scope refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
inline_into_scope_conflict refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
inline_into_scope_conflict_enclosed refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
inline_into_scope_conflict_enclosed_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
inline_within_extends_1 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
inline_within_extends_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_308 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
noinline_annotation refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
noinline_annotation_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
noinline_annotation_3 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00