Austaras
|
f8ca366cc1
|
fix(es/minifier): Abort seq inliner if var is not fn_local or reassigned (#7804)
**Description:**
It turns out that the original implementation of `infect`is incomplete
because it cannot cover function param, and the new implementation
introduced in #7772 is redundant because what
[terser](https://github.com/terser/terser/blob/master/lib/compress/tighten-body.js#L909C18-L909C28)
do is basically checking `fn_local`
**Related issue:**
- Closes #7784
|
2023-08-17 05:15:59 +00:00 |
|
David Sherret
|
064bcf4854
|
fix(es/codegen): Remove extra spaces in AssignPatProp and KeyValuePatProp (#7488)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
|
2023-06-07 05:08:35 +00:00 |
|
Austaras
|
c9427f1ec4
|
fix(es/minifier): Improve infection analysis (#6044)
|
2022-10-06 18:12:09 +09:00 |
|
Donny/강동윤
|
8c4873f81e
|
test(es/minifier): Remove mangle-only snapshots (#5979)
**Description:**
We don't have to store snapshots of all fixtures.
|
2022-09-28 21:35:52 +09:00 |
|
Donny/강동윤
|
9d1974248d
|
fix(es/minifier): Fix skipping logic of sequential inliner (#5956)
**Description:**
This PR implements `is_skippable_for_seq` fully.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5935.
|
2022-09-26 15:05:52 +00:00 |
|