swc/crates/swc_ecma_usage_analyzer/src
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
..
alias feat(es/analyzer): Extract the analyzer from the minifier to a separate crate (#6586) 2022-12-07 11:53:49 +00:00
analyzer refactor(es/minifier): Merge cond_init with reassigned (#6850) 2023-01-26 10:17:33 +09:00
lib.rs feat(es/analyzer): Extract the analyzer from the minifier to a separate crate (#6586) 2022-12-07 11:53:49 +00:00
marks.rs feat(es/analyzer): Extract the analyzer from the minifier to a separate crate (#6586) 2022-12-07 11:53:49 +00:00
util.rs feat(es/analyzer): Extract the analyzer from the minifier to a separate crate (#6586) 2022-12-07 11:53:49 +00:00