swc/crates/swc_ecma_minifier/tests/fixture/next
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
..
30498/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
31077/static/chunks/1606726a.10299989c08cb523 refactor(es/minifier): Merge cond_init with reassigned (#6850) 2023-01-26 10:17:33 +09:00
31084/xml2js/parser feat(es/minifier): Inline a lazily initialized var if it's used once (#6237) 2022-10-26 06:02:22 +00:00
33265/static/chunks feat(es/minifier): Make name mangler understand block scoping (#6670) 2023-01-06 03:14:10 +00:00
33458/static/chunks/pages feat(es/minifier): Inline function calls in more cases (#6010) 2022-10-01 18:18:45 +09:00
36127/2 feat(es/minifier): Make name mangler understand block scoping (#6670) 2023-01-06 03:14:10 +00:00
39538/static/chunks/pages/index-1bd068cedc2b5af3 feat(es/minifier): Inline a lazily initialized var if it's used once (#6237) 2022-10-26 06:02:22 +00:00
41527/1 fix(es/minifier): Remove wrong rule (#6201) 2022-10-19 02:14:38 +00:00
41992 test(es/minifier): Add a test for ?? operator (#6282) 2022-10-28 08:00:21 +00:00
43052 fix(es/minifier): Abort IIFE invoker completely on eval (#6659) 2022-12-15 07:49:58 +00:00
43208 fix(es/minifier): Use unsafe option for arrow => method (#6521) 2022-11-29 05:23:55 +00:00
asmjs/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
brotli-decompress feat(es/minifier): Inline function calls in more cases (#6010) 2022-10-01 18:18:45 +09:00
chakra fix(es/minifier): Make sequential inliner respect resolution order (#6509) 2022-11-29 04:50:15 +00:00
feeback-plotly/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
feedback-1/reduced/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
feedback-2/codemirror fix(es/minifier): Consider function body cost while inlining function (#5342) 2022-10-15 05:47:56 +00:00
feedback-3/579-dcac359116b2707c feat(es/minifier): Make name mangler understand block scoping (#6670) 2023-01-06 03:14:10 +00:00
feedback-regex fix(es/minifier): Don't evaluate String.fromCharCode for non-ascii values (#6033) 2022-10-04 16:46:59 +09:00
feedback-util-promisify/chunks/pages/_app-72ad41192608e93a feat(es/minifier): Make name mangler understand block scoping (#6670) 2023-01-06 03:14:10 +00:00
joda fix(es/minifier): Don't drop used variables from sequential inliner (#6520) 2022-11-29 04:12:11 +00:00
octokit fix(es/minifier): Don't inline into await from sequential inliner (#6839) 2023-01-20 08:50:51 +00:00
react-ace/chunks/8a28b14e.d8fbda268ed281a1 feat(es/minifier): Make name mangler understand block scoping (#6670) 2023-01-06 03:14:10 +00:00
react-chartjs fix(es/minifier): Improve infection analysis (#6044) 2022-10-06 18:12:09 +09:00
react-pdf-renderer fix(es/codegen): Fix codegen of string literals with \x000 (#6838) 2023-01-20 08:08:58 +00:00
regression-1/framework-798bab57daac3897 refactor(es/minifier): Merge cond_init with reassigned (#6850) 2023-01-26 10:17:33 +09:00
styled-components/1 feat(es/minifier): Make name mangler understand block scoping (#6670) 2023-01-06 03:14:10 +00:00
swc-4559 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
syncfusion/933-e9f9a6bf671b96fc fix(es/minifier): Make sequential inliner respect resolution order (#6509) 2022-11-29 04:50:15 +00:00
target-es2015 feat(es/minifier): Make name mangler understand block scoping (#6670) 2023-01-06 03:14:10 +00:00
tinymce/1 fix(es/minifier): Use unsafe option for arrow => method (#6521) 2022-11-29 05:23:55 +00:00
wrap-contracts fix(es/minifier): Don't inline into await from sequential inliner (#6839) 2023-01-20 08:50:51 +00:00
.gitignore refactor(es/minifier): Make rust-analyzer fast, really (#4746) 2022-05-23 16:16:05 +09:00
config.json refactor(es/minifier): Make rust-analyzer fast, really (#4746) 2022-05-23 16:16:05 +09:00