swc/crates/swc_ecma_minifier/tests
Donny/강동윤 3122e944a8
feat(es/minifier): Implement correct hoist_props (#8593)
**Description:**

 - The option `hoist_props` now does what it's supposed to do.
- Dropping of unused properties now does not drop properties too aggressively.
- The initializer of a dropped variable declaration is now properly visited.
- Indexing with string literals is not marked as a dynamic index anymore. This is required to handle codes like c3f67ceb1e/crates/swc_ecma_minifier/tests/terser/compress/hoist_props/name_collision_1/input.js (L1-L7).
2024-02-07 03:25:27 +00:00
..
benches-full feat(es/minifier): Implement correct hoist_props (#8593) 2024-02-07 03:25:27 +00:00
fixture feat(es/minifier): Implement correct hoist_props (#8593) 2024-02-07 03:25:27 +00:00
full feat(es/minifier): Implement correct hoist_props (#8593) 2024-02-07 03:25:27 +00:00
mangle fix(es/codegen): Remove extra spaces in AssignPatProp and KeyValuePatProp (#7488) 2023-06-07 05:08:35 +00:00
pass-1 feat(es/minifier): Swap bin expr to save paren (#8277) 2023-11-14 16:45:24 +00:00
pass-default feat(es/minifier): Implement trivial optimizations (#6256) 2022-11-02 01:21:32 +00:00
projects feat(es/minifier): Implement correct hoist_props (#8593) 2024-02-07 03:25:27 +00:00
terser/compress feat(es/minifier): Implement correct hoist_props (#8593) 2024-02-07 03:25:27 +00:00
compress.rs refactor(es/ast): Improve type definitions of patterns (#8532) 2024-02-05 15:32:52 +09:00
eval.rs perf(es/ast): Shrink size of Expr (#7041) 2023-03-09 13:34:11 +00:00
exec.rs feat(es/minifier): Implement correct hoist_props (#8593) 2024-02-07 03:25:27 +00:00
format.rs fix(es/codegen): Wrap quote for length greater than one (#8351) 2023-11-29 14:09:44 +00:00
mangle.rs test(es/minifier): Enable script mode for terser_exec and mangle (#8474) 2024-01-02 06:00:26 +00:00
passing.txt feat(es/minifier): Implement correct hoist_props (#8593) 2024-02-07 03:25:27 +00:00
postponed.txt feat(es/minifier): Implement correct hoist_props (#8593) 2024-02-07 03:25:27 +00: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 fix(es/resolver): Resolve top-level undefined, NaN, and Infinity correctly (#8471) 2024-01-04 04:24:14 +00:00
TODO.txt feat(es/minifier): Implement correct hoist_props (#8593) 2024-02-07 03:25:27 +00:00