swc/crates/swc_ecma_minifier/tests/projects
Austaras 55225cb994
refactor(es/minifier): Merge cond_init with reassigned (#6850)
**Description:**

And optimize the following situation
```js
export function genElement(el, state) {
    if ('slot' === el.tag) return el1 = el, genChildren(el1);
    if (el.component) {
        var el1
        return 999;
    }
}
```
which rarely happens in hand written JS, but is often generated by swc merge variable pass.
2023-01-26 10:17:33 +09:00
..
files test(es/minifier): Add tests for benchmark files (#5986) 2022-09-29 09:41:13 +09:00
output refactor(es/minifier): Merge cond_init with reassigned (#6850) 2023-01-26 10:17:33 +09:00
.prettierrc refactor(es/minifier): Make rust-analyzer fast, really (#4746) 2022-05-23 16:16:05 +09:00