Repository navigation
Commit f013991
committed
feat(javascript): honor unused and inline, drop ignored compress options
`unused: false` keeps what nothing reads, `inline: false` leaves each
function where it is declared, and the compress options the one pass
never reads are gone from its type. Also fixes nested `global_defs`
keys, shorthand and negative values, `top_retain` implying `toplevel`,
and `drop_console` outside statement lists.
Claude-Session: https://claude.ai/code/session_01Tgxgyb4N35ndP6cC4KcrXC1 parent ded4ce5 commit f013991
6 files changed
Lines changed: 223 additions & 104 deletions
File tree
- .changeset
- lib/javascript
- test
- helpers
- unitCases/javascript
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1328 | 1328 | | |
1329 | 1329 | | |
1330 | 1330 | | |
| 1331 | + | |
1331 | 1332 | | |
1332 | 1333 | | |
1333 | 1334 | | |
| |||
3360 | 3361 | | |
3361 | 3362 | | |
3362 | 3363 | | |
3363 | | - | |
| 3364 | + | |
| 3365 | + | |
| 3366 | + | |
3364 | 3367 | | |
3365 | 3368 | | |
3366 | 3369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
159 | 155 | | |
160 | 156 | | |
161 | 157 | | |
| |||
0 commit comments