SWC Bot
7327f257d2
chore: Publish crates
2023-12-04 09:00:34 +00:00
SWC Bot
c6e64148b0
chore: Publish crates
2023-12-03 01:14:41 +00:00
Redfire
91e0fc7250
chore(deps): Update indexmap
to v2
( #8370 )
...
**Description:**
Updates `indexmap` to `v2`, reducing dependency duplication. Unfortunately there are still many dependencies that require `v1`, including `rkyv` and `cranelift-egraph` that have no published versions using indexmap `v2`.
2023-12-03 01:12:30 +00:00
SWC Bot
9a41fac89f
chore: Publish crates
2023-12-02 23:25:06 +00:00
SWC Bot
c77f987b9b
chore: Publish crates
2023-12-02 11:43:08 +00:00
SWC Bot
98c47df37a
chore: Publish crates
2023-12-01 20:08:13 +00:00
SWC Bot
0845693536
chore: Publish crates
2023-11-29 14:11:49 +00:00
bohan
2cdea3fbea
fix(es/codegen): Wrap quote for length greater than one ( #8351 )
2023-11-29 14:09:44 +00:00
SWC Bot
655e95a24d
chore: Publish crates
2023-11-29 13:41:46 +00:00
SWC Bot
ddddd20559
chore: Publish crates
2023-11-27 01:56:46 +00:00
SWC Bot
e158c0e5a0
chore: Publish crates
2023-11-26 11:37:59 +00:00
SWC Bot
7e8b6c0f04
chore: Publish crates
2023-11-26 00:50:50 +00:00
SWC Bot
ae6c30b221
chore: Publish crates
2023-11-25 02:45:12 +00:00
Austaras
ed5a9b3f2e
fix(es/minifier): Give up terminate merge if in try
with finally
( #8342 )
...
**Related issue:**
- Closes #8337 .
- Closes #8324 .
- Reverts #8328 .
2023-11-25 02:43:18 +00:00
SWC Bot
5d94418518
chore: Publish crates
2023-11-23 01:53:53 +00:00
SWC Bot
5ce4b368db
chore: Publish crates
2023-11-23 00:57:05 +00:00
Donny/강동윤
01e2c7fc5a
fix(es/minifier): Fix if_return
bug related to await
and yield
( #8328 )
...
**Related issue:**
- Closes #8324
2023-11-23 00:54:57 +00:00
SWC Bot
14cd8dda29
chore: Publish crates
2023-11-22 23:25:21 +00:00
SWC Bot
185289775f
chore: Publish crates
2023-11-22 06:22:12 +00:00
SWC Bot
97d57f0e4f
chore: Publish crates
2023-11-21 09:21:47 +00:00
SWC Bot
7cec0ac1a0
chore: Publish crates
2023-11-20 22:51:17 +00:00
SWC Bot
a8bd170634
chore: Publish crates
2023-11-20 22:19:11 +00:00
SWC Bot
38c489c26c
chore: Publish crates
2023-11-20 21:59:52 +00:00
SWC Bot
5fa2ed4bfd
chore: Publish crates
2023-11-20 06:22:03 +00:00
SWC Bot
af8c1d33f5
chore: Publish crates
2023-11-20 04:30:06 +00:00
SWC Bot
2cd893fb8a
chore: Publish crates
2023-11-19 15:13:56 +00:00
Austaras
572ad63e08
fix(es/minifier): Apply new SyntaxContext
to inlined Arrow
correctly ( #8312 )
2023-11-20 00:11:38 +09:00
Donny/강동윤
a0048427dd
test(es/minifier): Update test refs ( #8310 )
2023-11-19 19:16:38 +09:00
SWC Bot
2b368f6731
chore: Publish crates
2023-11-19 06:35:42 +00:00
SWC Bot
f38ad1eeef
chore: Publish crates
2023-11-18 00:03:24 +00:00
Austaras
c18a959e3a
fix(es/minifier): Apply new SyntaxContext
to inlined Arrow
( #8301 )
...
**Related issue:**
- Closes #8288
2023-11-18 09:01:27 +09:00
SWC Bot
2a2b5ee5b1
chore: Publish crates
2023-11-16 08:52:11 +00:00
SWC Bot
9e8fe38d31
chore: Publish crates
2023-11-16 02:03:19 +00:00
SWC Bot
c566b73bfb
chore: Publish crates
2023-11-16 00:20:22 +00:00
Donny/강동윤
7985e02fc8
fix(es/minifier): Remove hack for built-in class names ( #8293 )
...
**Description:**
Regarding https://github.com/vercel/next.js/issues/55682 , I made a mistake while investigating. I assumed it's `swcMinify`-only but it seems like `node-fetch` is fundamentally incompatible with our minification options.
I thought `node-fetch` works with terser, but it did not, and it **should not**. But as I thought `terser` works, I assumed that `terser` has a hack for `AbortSignal`. And that's how I fixed `swcMinify: true`. The correct fix is `keep_classnames: true` but it will result in +~10% bundle size bloat.
At first, I used the correct way (`keep_classnames: true`), but it resulted in the bundle size bloat, so I mimicked the hack of terser with https://github.com/vercel/next.js/pull/57904 .
While working on other minification issues, I found that there's no such hack in `terser` and I need to remove the hack in the SWC minifier.
The repro in https://github.com/vercel/next.js/issues/55682 does not work with `swcMinify: false`, even with next@14. The problem of minifier and node-fetch was not exploited before `serverMinification: true`.
**Related issue:**
- https://github.com/brix/crypto-js/issues/415
2023-11-16 09:17:42 +09:00
SWC Bot
666c843e7e
chore: Publish crates
2023-11-15 23:38:46 +00:00
SWC Bot
c03f84e54e
chore: Publish crates
2023-11-15 22:45:18 +00:00
SWC Bot
99617848ef
chore: Publish crates
2023-11-15 22:04:42 +00:00
SWC Bot
3bbd340205
chore: Publish crates
2023-11-15 01:09:49 +00:00
Austaras
73fec945b5
fix(es/minifier): Make Finalizer
inline literals ( #8285 )
...
**Related issue:**
- Closes #8284
2023-11-15 01:07:37 +00:00
SWC Bot
f86c12b0b4
chore: Publish crates
2023-11-14 21:39:03 +00:00
bohan
f059270348
feat(es/minifier): Support format.inline_script
( #8252 )
2023-11-14 21:37:05 +00:00
SWC Bot
5fed604276
chore: Publish crates
2023-11-14 20:02:17 +00:00
Donny/강동윤
1ccfc0762c
fix(es/minifier): Respect pure_funcs
for tagged tpls ( #8280 )
...
**Related issue:**
- Closes #8275 .
2023-11-14 19:59:15 +00:00
SWC Bot
2f6af92232
chore: Publish crates
2023-11-14 16:47:24 +00:00
Austaras
65c3d0e3f4
feat(es/minifier): Swap bin expr to save paren ( #8277 )
2023-11-14 16:45:24 +00:00
SWC Bot
aa36a53c42
chore: Publish crates
2023-11-14 16:01:17 +00:00
Austaras
20fb5bab32
fix(es/minifier): Keep class with a static block ( #8283 )
...
**Related issue:**
- Closes #8271 .
2023-11-15 00:59:14 +09:00
SWC Bot
9c438692c6
chore: Publish crates
2023-11-13 10:03:57 +00:00
SWC Bot
35b95ae430
chore: Publish crates
2023-11-13 03:50:20 +00:00