Repository navigation
Commit 9df2c4e
committed
feat(minify): fold array literals in templates and a regular expression's source
`${[1, 1]}` as `1,1`, and `/a\/b/.source` as the string the engine
gives back.
Claude-Session: https://claude.ai/code/session_01ViD41i2KdwwGxrDk7yrjeD1 parent b174462 commit 9df2c4e
5 files changed
Lines changed: 76 additions & 13 deletions
File tree
- lib/javascript
- test
- helpers
- unitCases/javascript
- __snapshots__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24009 | 24009 | | |
24010 | 24010 | | |
24011 | 24011 | | |
| 24012 | + | |
| 24013 | + | |
| 24014 | + | |
| 24015 | + | |
| 24016 | + | |
| 24017 | + | |
| 24018 | + | |
| 24019 | + | |
| 24020 | + | |
| 24021 | + | |
| 24022 | + | |
| 24023 | + | |
| 24024 | + | |
| 24025 | + | |
| 24026 | + | |
| 24027 | + | |
| 24028 | + | |
| 24029 | + | |
| 24030 | + | |
| 24031 | + | |
| 24032 | + | |
| 24033 | + | |
| 24034 | + | |
| 24035 | + | |
| 24036 | + | |
| 24037 | + | |
| 24038 | + | |
24012 | 24039 | | |
24013 | 24040 | | |
| 24041 | + | |
| 24042 | + | |
| 24043 | + | |
24014 | 24044 | | |
24015 | 24045 | | |
24016 | 24046 | | |
| |||
44500 | 44530 | | |
44501 | 44531 | | |
44502 | 44532 | | |
| 44533 | + | |
| 44534 | + | |
| 44535 | + | |
| 44536 | + | |
| 44537 | + | |
| 44538 | + | |
| 44539 | + | |
| 44540 | + | |
| 44541 | + | |
| 44542 | + | |
| 44543 | + | |
| 44544 | + | |
| 44545 | + | |
| 44546 | + | |
| 44547 | + | |
| 44548 | + | |
| 44549 | + | |
| 44550 | + | |
| 44551 | + | |
| 44552 | + | |
| 44553 | + | |
| 44554 | + | |
| 44555 | + | |
| 44556 | + | |
| 44557 | + | |
| 44558 | + | |
| 44559 | + | |
| 44560 | + | |
| 44561 | + | |
| 44562 | + | |
44503 | 44563 | | |
44504 | 44564 | | |
44505 | 44565 | | |
| |||
44512 | 44572 | | |
44513 | 44573 | | |
44514 | 44574 | | |
44515 | | - | |
| 44575 | + | |
| 44576 | + | |
| 44577 | + | |
44516 | 44578 | | |
44517 | 44579 | | |
44518 | 44580 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
| 274 | + | |
279 | 275 | | |
280 | 276 | | |
281 | 277 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
340 | 339 | | |
341 | 340 | | |
342 | 341 | | |
| |||
0 commit comments