Donny/강동윤
d4544884ee
chore(es/minifier): Configure fuzzer ( #6246 )
2022-10-25 04:36:03 +00:00
SWC Bot
3d9c1a55bb
chore: Publish crates
2022-10-25 04:03:28 +00:00
Donny/강동윤
ec9a80aae0
feat(es/minifier): Respect options ( #6245 )
2022-10-25 04:00:16 +00:00
SWC Bot
2f05c3fd32
chore: Publish crates
2022-10-24 03:58:37 +00:00
SWC Bot
c025cd01ce
chore: Publish crates
2022-10-23 04:45:44 +00:00
Donny/강동윤
48bb0cc51d
fix(es/minifier): Fix collapse_vars
( #6235 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6217
2022-10-23 13:43:10 +09:00
SWC Bot
e2c1fcffd4
chore: Publish crates
2022-10-21 23:50:56 +00:00
SWC Bot
b79997ba02
chore: Publish crates
2022-10-21 09:11:29 +00:00
Donny/강동윤
e9d421bd95
fix(es/minifier): Preserve this
in more cases ( #6226 )
...
**Related issue (if exists):**
- Closes https://github.com/swc-project/swc/issues/6175 .
- Closes https://github.com/swc-project/swc/issues/6137 .
Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
2022-10-21 09:07:00 +00:00
SWC Bot
bcd5f6f5be
chore: Publish crates
2022-10-21 03:21:15 +00:00
Donny/강동윤
780b5de678
fix(es/minifier): Fix detection of direct eval
( #6215 )
2022-10-21 12:18:10 +09:00
SWC Bot
6b738f2443
chore: Publish crates
2022-10-21 00:36:28 +00:00
Donny/강동윤
ea03ce1a82
refactor(es/minifier): Don't create invalid nodes ( #6191 )
...
**Description:**
A sequential expression should have at leat two elements.
2022-10-21 00:33:40 +00:00
Donny/강동윤
725b1185f3
test(es/minifier): Add a test for a fixed issue ( #6218 )
...
**Related issue (if exists):**
- Closes https://github.com/swc-project/swc/issues/6217 .
2022-10-20 19:26:27 +00:00
SWC Bot
3f648bdf0f
chore: Publish crates
2022-10-20 08:59:26 +00:00
SWC Bot
33470ab5b9
chore: Publish crates
2022-10-20 05:09:47 +00:00
Donny/강동윤
cc848db80e
feat(es/minifier): Mark more expressions as pure ( #6204 )
2022-10-20 05:06:32 +00:00
SWC Bot
6aaf6a7a87
chore: Publish crates
2022-10-20 02:26:45 +00:00
Donny/강동윤
12443db39a
feat(es/minifier): Merge functions using sequential inliner ( #6148 )
2022-10-20 02:24:09 +00:00
SWC Bot
0c23592d14
chore: Publish crates
2022-10-20 01:50:04 +00:00
SWC Bot
6008995db1
chore: Publish crates
2022-10-19 04:56:51 +00:00
SWC Bot
b48ec880fd
chore: Publish crates
2022-10-19 04:00:51 +00:00
SWC Bot
287c2f2941
chore: Publish crates
2022-10-19 02:18:35 +00:00
Donny/강동윤
842abd4575
fix(es/minifier): Remove wrong rule ( #6201 )
...
**Related issue:**
- https://github.com/vercel/next.js/issues/41527 .
2022-10-19 02:14:38 +00:00
SWC Bot
a049ef058b
chore: Publish crates
2022-10-18 14:51:39 +00:00
SWC Bot
789ea16fc8
chore: Publish crates
2022-10-18 05:41:47 +00:00
SWC Bot
e30316626f
chore: Publish crates
2022-10-18 02:54:12 +00:00
Donny/강동윤
f2e8f98d38
feat(es/minifier): Skip function declarations in sequential inliner ( #6147 )
2022-10-18 02:51:05 +00:00
SWC Bot
b197a62b5e
chore: Publish crates
2022-10-18 02:16:46 +00:00
Donny/강동윤
3f0fcf4fa9
feat(es/minifier): Make sequential inliner self-repeat ( #6168 )
2022-10-18 02:13:39 +00:00
SWC Bot
fed888f822
chore: Publish crates
2022-10-17 08:33:49 +00:00
SWC Bot
99c55dc93b
chore: Publish crates
2022-10-16 15:52:36 +00:00
SWC Bot
b3b8e2192d
chore: Publish crates
2022-10-16 00:28:22 +00:00
SWC Bot
c3ba51f48e
chore: Publish crates
2022-10-15 23:59:27 +00:00
SWC Bot
78f2d6012c
chore: Publish crates
2022-10-15 12:55:40 +00:00
SWC Bot
23e30fd149
chore: Publish crates
2022-10-15 09:14:15 +00:00
Donny/강동윤
aec5cdacc6
fix(es/minifier): Preserve this
of tagged template literals ( #6165 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6146
2022-10-15 09:11:20 +00:00
SWC Bot
16df44221f
chore: Publish crates
2022-10-15 05:50:28 +00:00
Austaras
b40d486253
fix(es/minifier): Consider function body cost while inlining function ( #5342 )
2022-10-15 05:47:56 +00:00
SWC Bot
608aa94935
chore: Publish crates
2022-10-15 04:39:37 +00:00
Donny/강동윤
6d0ca05cb5
fix(es/minifier): Fix ordering issue of analyzer ( #6150 )
...
**Description:**
This is the groundwork for a parallel analyzer. This PR fixes the ordering issue of the analyzer so that the analyzer works identically regardless of the visit order. This patch contains some improvements because previously, we mixed `.and_modify()` and `.or_default()`.
2022-10-15 04:37:11 +00:00
SWC Bot
a50b5aeeb1
chore: Publish crates
2022-10-14 10:42:11 +00:00
SWC Bot
ef5ed9b4a9
chore: Publish crates
2022-10-14 03:00:49 +00:00
Donny/강동윤
d334c6e783
feat(es/minifier): Ignore return value if a param of IIFE is not used ( #6115 )
2022-10-14 02:58:00 +00:00
SWC Bot
3ff55caa38
chore: Publish crates
2022-10-14 00:35:25 +00:00
Donny/강동윤
3d271e82a2
fix(es/minifier): Preserve return values of recursive IIFE ( #6142 )
...
**Description:**
This PR fixes the logic for dropping return values of IIFE.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6141 .
2022-10-14 09:32:56 +09:00
SWC Bot
31023f8e7e
chore: Publish crates
2022-10-13 23:38:26 +00:00
Donny/강동윤
ec0d6d5a0d
feat(es/minifier): Improve trivial rules ( #6136 )
2022-10-13 23:34:30 +00:00
SWC Bot
0eb91d67a7
chore: Publish crates
2022-10-13 23:03:28 +00:00
Donny/강동윤
3a29bfee9b
feat(es/minifier): Change default pass limit to 3 ( #6138 )
2022-10-14 08:00:32 +09:00