mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
68e9017376
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. |
||
---|---|---|
.. | ||
collapse_vars_constants | ||
drop_fargs | ||
inner_var_for_in_1 | ||
issue_1254_negate_iife_nested | ||
issue_1254_negate_iife_true | ||
issue_1288_side_effects | ||
issue_1595_3 | ||
issue_1758 | ||
keep_fargs | ||
modified | ||
negate_iife_3 | ||
negate_iife_3_off | ||
negate_iife_4 | ||
negate_iife_5 | ||
negate_iife_5_off | ||
negate_iife_issue_1073 | ||
pure_annotation_1 | ||
pure_annotation_2 | ||
ref_scope | ||
safe_undefined | ||
wrap_iife | ||
wrap_iife_in_expression | ||
wrap_iife_in_return_call |