Commit Graph

5821 Commits

Author SHA1 Message Date
SWC Bot
e37ced5bf4 chore: Publish crates 2022-10-12 01:55:47 +00:00
Austaras
5a23949f12
feat(es/minifier): Inline and remove vars in one pass (#6093) 2022-10-12 01:52:58 +00:00
SWC Bot
dcb3a4371d chore: Publish crates 2022-10-11 23:55:24 +00:00
Alexander Akait
7343cf3389
perf(atoms): Add more atoms (#6122)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-10-11 23:52:51 +00:00
SWC Bot
521bdbe9cc chore: Publish crates 2022-10-11 23:11:17 +00:00
Donny/강동윤
ad960c76c0
feat(es/minifier): Detect type of .length (#6120)
**Description:**

This PR updates minifier to detect the type of `xxx.length` if possible.
2022-10-11 23:06:58 +00:00
SWC Bot
bc4668338b chore: Publish crates 2022-10-11 16:05:06 +00:00
Alexander Akait
7e4d20791b
test(css/prefixer): Verify old gradient syntax (#6121) 2022-10-11 16:00:52 +00:00
SWC Bot
dfd274055a chore: Publish crates 2022-10-11 11:51:58 +00:00
Donny/강동윤
0cd8aeeb5c
feat(bindings): Apply resolver to the output of parse apis (#6118)
**Description:**

This PR makes the `parse*()` API return AST with `resolver` applied to help plugin authors
2022-10-11 11:49:30 +00:00
SWC Bot
5bf306565f chore: Publish crates 2022-10-11 11:23:16 +00:00
IWANABETHATGUY
27bda13591
build(cargo): Remove unused deps (#6117) 2022-10-11 11:20:14 +00:00
SWC Bot
af5b25f8b8 chore: Publish crates 2022-10-11 10:45:42 +00:00
Donny/강동윤
8549c47807
feat(dbg-swc): Remove comments from the output of terser (#6119)
**Description:**

This PR removes comments by parsing and printing using swc APIs because the comments disturb looking at diffs.
2022-10-11 19:43:09 +09:00
SWC Bot
fe9ca12081 chore: Publish crates 2022-10-11 08:27:41 +00:00
Donny/강동윤
6365acc9f5
test(es/minifier): Organize terser tests (#6116)
**Description:**

Our minifier is better than terser in some cases, so we don't need to match the output of terser exactly.
2022-10-11 08:25:11 +00:00
SWC Bot
86b5641d5e chore: Publish crates 2022-10-11 05:38:58 +00:00
Alexander Akait
6b3f4bb1c6
feat(css/ast): Add AST types for gradients (#6111) 2022-10-11 14:36:05 +09:00
SWC Bot
5966aab27e chore: Publish crates 2022-10-11 04:33:40 +00:00
Alexander Akait
a920997f4b
feat(css/codegen): Support lowercase case insensitivity (#6113) 2022-10-11 04:31:17 +00:00
SWC Bot
3a3aa8d25a chore: Publish crates 2022-10-11 03:58:58 +00:00
Alexander Akait
1938ed26a1
feat(css/ast): Support ::highlight() (#6109) 2022-10-11 03:56:32 +00:00
SWC Bot
a0b0fd3e0d chore: Publish crates 2022-10-11 02:39:20 +00:00
Donny/강동윤
5fd0e97c15
fix(swc_core): Reexport swc_css_compat correctly (#6114) 2022-10-11 02:36:56 +00:00
SWC Bot
018ca946e7 chore: Publish crates 2022-10-10 13:09:51 +00:00
Donny/강동윤
8d4d32664d
fix(es/preset-env): Update data (#6106) 2022-10-10 13:07:25 +00:00
SWC Bot
221818e85c chore: Publish crates 2022-10-10 09:08:09 +00:00
Donny/강동윤
16dc746cd3
feat(swc_core): Reexport swc_css_compat (#6102) 2022-10-10 18:05:43 +09:00
SWC Bot
675da485fc chore: Publish crates 2022-10-10 05:40:39 +00:00
Donny/강동윤
3c6cdbc61c
feat(es/minifier): Enable reduce_funcs by default (#6097) 2022-10-10 05:38:17 +00:00
SWC Bot
0808c927c6 chore: Publish crates 2022-10-10 05:05:22 +00:00
Anthony Morris
ca67d5244d
doc(es/parser): Change file extension in TypeScript example (#6094) 2022-10-10 05:02:02 +00:00
SWC Bot
f5f293e72e chore: Publish crates 2022-10-10 00:56:50 +00:00
Austaras
657e5b3111
feat(es/minifier): Inline more lazily initialized vars (#6089) 2022-10-10 09:53:50 +09:00
Donny/강동윤
4f92225db7 chore: Publish @swc/helpers@0.4.12 2022-10-09 09:49:52 +09:00
SWC Bot
fe51d7aaa2 chore: Publish crates 2022-10-09 00:24:46 +00:00
Donny/강동윤
b0c57458c8
feat(es/minifier): Mark ref to fn as non-call in alias analyzer (#6088) 2022-10-09 09:21:54 +09:00
SWC Bot
516320009a chore: Publish crates 2022-10-08 04:41:25 +00:00
Donny/강동윤
b5d5e11197
chore: Publish v1.3.6 (#6087) 2022-10-08 13:39:07 +09:00
SWC Bot
818a5cc1eb chore: Publish crates 2022-10-08 04:08:55 +00:00
Donny/강동윤
d0418ebe5b
doc(es/minifier): Document assumptions (#6085) 2022-10-08 13:05:57 +09:00
SWC Bot
969c6eeeeb chore: Publish crates 2022-10-08 03:17:53 +00:00
Donny/강동윤
9ce3df091f
feat(es/minifier): Distinguish calls in alias analyzer (#6080)
**Description:**

This PR improves the alias analyzer by distinguishing call and reference, thus reducing the number of identifiers.

---

Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
2022-10-08 03:15:18 +00:00
SWC Bot
da1b2b32a2 chore: Publish crates 2022-10-08 00:53:47 +00:00
Will Binns-Smith
4cde4f9ace
feat(swc_core): Expose swc_ecma_preset_env (#6083) 2022-10-08 09:51:18 +09:00
SWC Bot
17a2f6b893 chore: Publish crates 2022-10-07 14:54:27 +00:00
Alexander Akait
b71dd3ec05
feat(css/ast): Support <general-enclosed> for @media at-rules (#6082) 2022-10-07 14:51:53 +00:00
SWC Bot
3171718e07 chore: Publish crates 2022-10-07 07:48:18 +00:00
IWANABETHATGUY
8003dc8563
feat(es/codegen): Remove the trailing comma of binding patterns (#6078) 2022-10-07 16:45:20 +09:00
SWC Bot
477626b9ff chore: Publish crates 2022-10-07 05:55:53 +00:00