swc/crates/swc_ecma_minifier/tests
CPunisher a7c82bdfa9
fix(es/minifier): Fix variable declaration in default branch (#9220)
**Description:**

When a default branch appears before an exact match, the variable declaration should be recorded before deleting the default branch.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/8919
2024-07-12 13:03:50 +00:00
..
benches-full test(es/minfiier): Improve comment testing (#9164) 2024-07-06 22:53:57 +09:00
fixture fix(es/minifier): Fix variable declaration in default branch (#9220) 2024-07-12 13:03:50 +00:00
full test(es/minfiier): Improve comment testing (#9164) 2024-07-06 22:53:57 +09:00
mangle feat(es/renamer): Workaround a bug of Safari (#9029) 2024-06-10 11:29:24 +09:00
pass-1 test(es/minfiier): Improve comment testing (#9164) 2024-07-06 22:53:57 +09:00
pass-default feat(es/minifier): Implement trivial optimizations (#6256) 2022-11-02 01:21:32 +00:00
projects test(es/minfiier): Improve comment testing (#9164) 2024-07-06 22:53:57 +09:00
terser/compress fix(es/minifier): Fix compress pow NaN (#9210) 2024-07-12 21:06:57 +09:00
compress.rs refactor(common): Drop SyntaxContext from AST nodes (#9175) 2024-07-12 13:13:20 +09:00
eval.rs refactor(common): Drop SyntaxContext from AST nodes (#9175) 2024-07-12 13:13:20 +09:00
exec.rs refactor(common): Drop SyntaxContext from AST nodes (#9175) 2024-07-12 13:13:20 +09:00
format.rs refactor(common): Drop SyntaxContext from AST nodes (#9175) 2024-07-12 13:13:20 +09:00
mangle.rs refactor(common): Drop SyntaxContext from AST nodes (#9175) 2024-07-12 13:13:20 +09:00
passing.txt fix(es/minifier): Fix compress pow NaN (#9210) 2024-07-12 21:06:57 +09:00
postponed.txt fix(es/minifier): Fix compress pow NaN (#9210) 2024-07-12 21:06:57 +09:00
terser_exec_base.js refactor(es/minifier): Make rust-analyzer fast, really (#4746) 2022-05-23 16:16:05 +09:00
terser_exec.rs refactor(es/parser): Rename EsConfig and TsConfig (#9094) 2024-06-22 01:56:37 +09:00
TODO.txt test(es/minifier): Update the passing terser test list (#8984) 2024-05-27 22:45:44 +09:00