Commit graph

6 commits

Author SHA1 Message Date
翠 / green
6589c3bbb3
feat(mangler): reuse variable names (#8562)
Changed the mangler to reuse variable names where possible.

This will reduce the code size as shorter variable names can be used in
more places. But requires global information and limits parallelism in a
single file and requires more memory.

---------

Co-authored-by: Boshen <boshenc@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-25 14:00:24 +08:00
Boshen
9ec4e24eb7
test(napi/minify): fix more broken tests 2025-01-16 16:09:23 +08:00
Boshen
0acbef356a
test(napi/minify): fix matching of arrays 2025-01-16 15:34:20 +08:00
Boshen
855c8395cf fix(codegen): shorthand assignment target identifier consider mangled names (#8536) 2025-01-16 07:26:07 +00:00
Boshen
c63c8b924d
test(napi/minify): add runtime test (#8501) 2025-01-15 21:13:00 +08:00
Boshen
4ad695dcfb feat(napi/minify): implement napi (#8478) 2025-01-14 08:55:55 +00:00