Repository navigation
Commit be2d17f
committed
fix(minifier): leave a declared function's typeof to terser
Terser already folds `typeof f` compared against a string where `f` is a
function declaration nothing writes; the improve-phase fold only added the
bare form, where `"function"` is longer than `typeof f`. Retire the swc
entries the catch-shadowed function drop now beats.
Claude-Session: https://claude.ai/code/session_01ViD41i2KdwwGxrDk7yrjeD1 parent 122e921 commit be2d17f
3 files changed
Lines changed: 9 additions & 59 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22546 | 22546 | | |
22547 | 22547 | | |
22548 | 22548 | | |
22549 | | - | |
22550 | | - | |
22551 | | - | |
22552 | | - | |
22553 | | - | |
22554 | | - | |
22555 | | - | |
22556 | | - | |
22557 | | - | |
22558 | | - | |
22559 | | - | |
22560 | | - | |
22561 | | - | |
22562 | | - | |
22563 | | - | |
22564 | | - | |
22565 | | - | |
22566 | | - | |
22567 | | - | |
22568 | | - | |
22569 | | - | |
22570 | | - | |
22571 | | - | |
22572 | | - | |
22573 | | - | |
22574 | | - | |
22575 | | - | |
22576 | | - | |
22577 | | - | |
22578 | | - | |
22579 | | - | |
22580 | | - | |
22581 | | - | |
22582 | | - | |
22583 | | - | |
22584 | | - | |
22585 | | - | |
22586 | 22549 | | |
22587 | 22550 | | |
22588 | 22551 | | |
| |||
22596 | 22559 | | |
22597 | 22560 | | |
22598 | 22561 | | |
22599 | | - | |
22600 | | - | |
22601 | | - | |
22602 | | - | |
22603 | | - | |
22604 | | - | |
22605 | | - | |
22606 | | - | |
22607 | | - | |
22608 | | - | |
| 22562 | + | |
| 22563 | + | |
| 22564 | + | |
| 22565 | + | |
| 22566 | + | |
| 22567 | + | |
| 22568 | + | |
| 22569 | + | |
| 22570 | + | |
22609 | 22571 | | |
22610 | 22572 | | |
22611 | 22573 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | 79 | | |
84 | 80 | | |
85 | 81 | | |
| |||
480 | 476 | | |
481 | 477 | | |
482 | 478 | | |
483 | | - | |
484 | 479 | | |
485 | | - | |
486 | 480 | | |
487 | 481 | | |
488 | 482 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | 296 | | |
303 | 297 | | |
304 | 298 | | |
| |||
0 commit comments