Austaras
63fb0c4ad3
feat(es/minifier): Move assign with seq init into seq ( #5847 )
2022-09-14 12:57:18 +00:00
SWC Bot
d35792f424
chore: Publish crates
2022-09-14 07:56:20 +00:00
SWC Bot
8432c0a1ad
chore: Publish crates
2022-09-14 07:19:24 +00:00
SWC Bot
0c24841274
chore: Publish crates
2022-09-14 06:54:54 +00:00
Donny/강동윤
32f18068ad
fix(es/minifier): Preserve more side effects ( #5853 )
...
**Description:**
We now preserve more side effects.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5680 .
2022-09-14 06:51:56 +00:00
SWC Bot
0a56a2d5ab
chore: Publish crates
2022-09-14 06:10:39 +00:00
magic-akari
2b2464271a
fix(es/codegen): Remove redundant ;
after export default decl ( #5851 )
2022-09-14 06:07:15 +00:00
SWC Bot
ad4b0d200c
chore: Publish crates
2022-09-14 05:05:55 +00:00
Donny/강동윤
a5f7b6946f
fix(es/minifier): Don't replace parameters of IIFE if it's recursive ( #5852 )
...
**Description:**
While investigating, I found that problem is not the analysis of recursive functions. Instead, it was a problem with the IIFE evaluator, which replaces parameters even if it's recursive.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5846
2022-09-14 05:02:14 +00:00
Donny/강동윤
0284c1bf40
test(es/transforms): Enable tests for fixed issues ( #5845 )
2022-09-13 10:32:00 +00:00
SWC Bot
76d22dfeb1
chore: Publish crates
2022-09-13 07:46:53 +00:00
SWC Bot
cae41739d5
chore: Publish crates
2022-09-13 06:48:34 +00:00
Donny/강동윤
fe3072b12a
perf(es/minifier): Reduce type sizes ( #5843 )
2022-09-13 06:45:33 +00:00
SWC Bot
c624c3de03
chore: Publish crates
2022-09-13 06:06:00 +00:00
SWC Bot
d16fb9a8cf
chore: Publish crates
2022-09-13 05:04:36 +00:00
Alexander Akait
ccd618ce54
perf(html/minifier): Improve performance ( #5838 )
2022-09-13 14:01:41 +09:00
SWC Bot
d8c1e4a62e
chore: Publish crates
2022-09-13 03:56:39 +00:00
Austaras
8567a38c4a
feat(es/minifier): Extend inlining of identifiers to multi-usage ( #5832 )
2022-09-13 03:52:47 +00:00
SWC Bot
b2c0fbd7ba
chore: Publish crates
2022-09-13 02:19:15 +00:00
SWC Bot
2df19176fb
chore: Publish crates
2022-09-12 05:16:53 +00:00
SWC Bot
9f28c246dc
chore: Publish crates
2022-09-12 04:34:08 +00:00
SWC Bot
2b1e73737f
chore: Publish crates
2022-09-11 06:21:56 +00:00
Donny/강동윤
cfe575e35a
perf(es/minifier): Make expression simplifier stateless and parallel ( #5819 )
2022-09-11 06:18:44 +00:00
SWC Bot
5fe032c01a
chore: Publish crates
2022-09-11 03:00:57 +00:00
SWC Bot
4084fc1aeb
chore: Publish crates
2022-09-10 17:14:48 +00:00
SWC Bot
961a9047c0
chore: Publish crates
2022-09-10 15:07:06 +00:00
SWC Bot
417b1f2a92
chore: Publish crates
2022-09-10 07:23:37 +00:00
Donny/강동윤
7391cc99b1
perf(css/minifier): Use JsWord
instead of &str
( #5806 )
2022-09-10 07:20:51 +00:00
SWC Bot
4c078b0ac3
chore: Publish crates
2022-09-10 06:04:28 +00:00
SWC Bot
c8bb70f97e
chore: Publish crates
2022-09-10 05:48:09 +00:00
SWC Bot
575940e770
chore: Publish crates
2022-09-09 08:09:53 +00:00
SWC Bot
54b108dc51
chore: Publish crates
2022-09-09 05:55:06 +00:00
Donny/강동윤
21fbcb9621
refactor(es/renamer): Rename PARALLEL
to MANGLE
( #5790 )
...
**Description:**
Actually, performance issue comes from collision, not parallelism. So I renamed the associated constant.
2022-09-09 05:51:45 +00:00
SWC Bot
701fa74631
chore: Publish crates
2022-09-09 05:05:59 +00:00
Donny/강동윤
f11461d3f5
test(es): Enable tests for fixed issues ( #5784 )
2022-09-08 15:05:39 +00:00
SWC Bot
9b723cc6f5
chore: Publish crates
2022-09-08 08:11:24 +00:00
Austaras
ee26337a25
feat(es/minifier): Inline lazily initialized variables ( #5737 )
...
Safety:
For a function-local variable, an expression with side-effects would be a call, including an indirect one with a member expression.
- If the call is function-local, it will be analyzed by the analyzer and inliner will not work.
- If the call is not a function-local one, it cannot modify the local variable.
2022-09-08 08:07:43 +00:00
SWC Bot
32cd51dc29
chore: Publish crates
2022-09-08 05:26:49 +00:00
Donny/강동윤
24b60d2b64
feat(es/minifier): Change order of renaming to align with terser ( #5780 )
...
**Description:**
- Change the order of renaming to match one of `terser`.
2022-09-08 05:23:23 +00:00
SWC Bot
d2188eac3f
chore: Publish crates
2022-09-08 04:28:01 +00:00
SWC Bot
bad9811ea8
chore: Publish crates
2022-09-07 06:16:59 +00:00
SWC Bot
4507b10219
chore: Publish crates
2022-09-07 05:32:06 +00:00
Donny/강동윤
c2d10503db
perf(es/minifier): Make passes more parallel ( #5773 )
2022-09-07 14:28:36 +09:00
SWC Bot
0649b054b4
chore: Publish crates
2022-09-07 04:49:51 +00:00
Donny/강동윤
32a73fbf22
fix(es/minifier): Fix calculation of character frequency ( #5772 )
2022-09-07 04:46:21 +00:00
SWC Bot
c9a6c2193e
chore: Publish crates
2022-09-07 03:54:49 +00:00
Austaras
90852f5aa6
fix(es/minifier): Fix analysis of assignments and classes ( #5770 )
2022-09-07 03:51:42 +00:00
SWC Bot
51b9d694be
chore: Publish crates
2022-09-06 13:28:30 +00:00
Donny/강동윤
9d29abcd5b
chore(es/minifier): Fix size calculator script ( #5767 )
2022-09-06 22:23:57 +09:00
SWC Bot
e654741336
chore: Publish crates
2022-09-06 12:41:54 +00:00