Repository navigation
Commit 2289141
authored
feat(javascript): fold more of what swc folds in the minifier (#22607)
Drop a catch's return matching the return after the try, unwrap IIFEs
returning a sequence, drop constant arguments of unused parameters in
copied calls, inline unobserved values made only of functions and
objects, join bare var declarations, and let function-valued variables
alias parameters. A sloppy-mode block function is never taken as made.
Claude-Session: https://claude.ai/code/session_01ViD41i2KdwwGxrDk7yrjeD1 parent 7b3d5e4 commit 2289141
5 files changed
Lines changed: 438 additions & 62 deletions
File tree
- lib/javascript
- test
- helpers
- specCases
- unitCases
0 commit comments