swc/crates/swc_ecma_minifier/tests/terser/compress/evaluate
Donny/강동윤 4a7937d56e
fix(es/minifier): Don't create top level variables (#2985)
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
..
and refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
array_slice_index refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
call_args fix(es/minifier): Don't create top level variables (#2985) 2021-12-07 18:02:43 +09:00
call_args_drop_param refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
delete_binary_1 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
delete_binary_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
delete_expr_1 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
delete_expr_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
global_hasOwnProperty refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
in_boolean_context refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
Infinity_NaN_undefined_LHS refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_399 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_1649 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_1760_1 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_1760_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_1964_1 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_1964_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2207_1 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2207_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2207_3 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2231_1 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2231_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2231_3 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2535_1 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2535_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2535_3 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2822 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2916_1 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2916_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2919 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2926_1 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2926_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
issue_2968 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
negative_zero refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
null_conditional_chain_eval refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
optional_expect_when_expect_stdout_present refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
or refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
positive_zero refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
pow refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
pow_mixed refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
pow_sequence refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
pow_sequence_with_constants_and_parens refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
pow_sequence_with_parens refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
pow_sequence_with_parens_evaluated refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
pow_sequence_with_parens_exact refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
pow_with_number_constants refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
pow_with_right_side_evaluating_to_unary refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
prop_function refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
prototype_function refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
self_comparison_1 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
self_comparison_2 refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
string_case refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
string_charCodeAt refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unary_prefix refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_array refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_array_bad_index refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_charAt refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_charAt_bad_index refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_charAt_noop refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_constant refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_float_key refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_float_key_complex refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_integer_key refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_integer_key_complex refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_object refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_object_accessor refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_object_complex refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_object_nested refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_object_repeated refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_string refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
unsafe_string_bad_index refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00