swc/crates/swc_ecma_minifier/tests/terser/compress/issue_281
Austaras ee26337a25
feat(es/minifier): Inline lazily initialized variables (#5737)
Safety:

For a function-local variable, an expression with side-effects would be a call, including an indirect one with a member expression.

 - If the call is function-local, it will be analyzed by the analyzer and inliner will not work.
 - If the call is not a function-local one, it cannot modify the local variable.
2022-09-08 08:07:43 +00:00
..
collapse_vars_constants feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
drop_fargs feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
inner_var_for_in_1 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_1254_negate_iife_nested feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_1254_negate_iife_true feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_1288_side_effects feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
issue_1595_3 feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
issue_1758 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
keep_fargs feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
modified fix(es/minifier): Fix analysis of assignments and classes (#5770) 2022-09-07 03:51:42 +00:00
negate_iife_3 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
negate_iife_3_off feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
negate_iife_4 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
negate_iife_5 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
negate_iife_5_off feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
negate_iife_issue_1073 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
pure_annotation_1 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
pure_annotation_2 feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
ref_scope feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
safe_undefined feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
wrap_iife feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
wrap_iife_in_expression feat(es/minifier): Inline lazily initialized variables (#5737) 2022-09-08 08:07:43 +00:00
wrap_iife_in_return_call feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00