swc/crates/swc_ecma_minifier/tests/terser/compress/dead-code
Donny/강동윤 4a7937d56e
fix(es/minifier): Don't create top level variables ()
swc_ecma_minifier:
 - Add `module` to `TerserCompressorOptions`.
 - Don't create top level variables while inlining if `module` is false.
 - Drop more unused parameters.
2021-12-07 18:02:43 +09:00
..
accessor refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
collapse_vars_assignment refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
collapse_vars_lvalues_drop_assign refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
collapse_vars_misc1 refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
dead_code_1 refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
dead_code_2_should_warn refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
dead_code_2_should_warn_strict refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
dead_code_block_decls_die refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
dead_code_const_annotation refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
dead_code_const_annotation_complex_scope refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
dead_code_const_annotation_regex refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
dead_code_const_declaration refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
dead_code_constant_boolean_should_warn_more refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
dead_code_constant_boolean_should_warn_more_strict refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
global_fns refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
global_timeout_and_interval_symbols refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
issue_718 refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
issue_2233_1 refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
issue_2233_2 refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
issue_2233_3 refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
issue_2383_1 refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
issue_2383_2 refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
issue_2383_3 refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
issue_2597 refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
issue_2666 refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
issue_2692 refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
issue_2701 refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
issue_2749 refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
issue_2860_1 refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
issue_2860_2 refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
issue_2929 refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
return_assignment refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00
throw_assignment fix(swc/hygiene): Prefer not renaming top level variables () 2021-12-04 01:55:27 +09:00
try_catch_finally fix(es/minifier): Don't create top level variables () 2021-12-07 18:02:43 +09:00
unsafe_builtin refactor: Flatten ecmascript () 2021-11-10 19:00:54 +09:00