swc/ecmascript/minifier/tests/terser/compress/conditionals
강동윤 ef6a745599
feat(es/minifier): Implement more rules (#1735)
swc_ecma_minifier:
 - Implement `evaluate` partially.
 - Store 'expected output' from terser along with our result.

swc_ecma_transforms_base:
 - `fixer`: Don't wrap `+ (a % b)`.

swc_ecma_transforms_optimization:
 - `expr_simplifier`: Preserve this in calls.
2021-05-25 16:39:07 +09:00
..
cond_1 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
cond_2 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
cond_3 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
cond_4 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
cond_5 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
cond_7 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
cond_7_1 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
cond_8 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
cond_8b feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
cond_8c feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
cond_9 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
condition_symbol_matches_consequent feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
delete_conditional_1 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
delete_conditional_2 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
equality_conditionals_false feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
equality_conditionals_true feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
hoist_decl feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
ifs_1 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
ifs_2 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
ifs_3_should_warn feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
ifs_4 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
ifs_5 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
ifs_6 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
ifs_same_consequent feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_1154 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_1645_1 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_1645_2 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_2535_1 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_2535_2 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_2560 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_2994 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
no_evaluate feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
ternary_boolean_alternative feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
ternary_boolean_consequent feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
to_and_or feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
trivial_boolean_ternary_expressions feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00