Commit Graph

6099 Commits

Author SHA1 Message Date
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
SWC Bot
1affcfe8e8 chore: Publish crates 2022-10-13 06:12:56 +00:00
Donny/강동윤
9c8ec0ea56
perf(atoms): Use thin pointer for Atom (#6135)
**Description:**

This PR changes the size of `Atom` type to `usize` from 2 * usize`.

**Related issue:**

 - https://github.com/swc-project/swc/issues/4946.
2022-10-13 06:09:44 +00:00
SWC Bot
a871b13906 chore: Publish crates 2022-10-13 05:34:51 +00:00
Alexander Akait
e63fa28008
fix(css/ast): Fix AST types for simple block (#6131) 2022-10-13 05:31:34 +00:00
SWC Bot
871ed71b52 chore: Publish crates 2022-10-13 04:18:02 +00:00
Alexander Akait
85b2188204
refactor(css/ast): Refactor AST types (#6124) 2022-10-13 04:15:29 +00:00
SWC Bot
769e5a2885 chore: Publish crates 2022-10-13 03:48:18 +00:00
Donny/강동윤
c37839fc62
feat(es/minifier): Swap more binary expressions (#6134) 2022-10-13 03:45:05 +00:00
SWC Bot
b07a17a959 chore: Publish crates 2022-10-13 03:20:07 +00:00
Alexander Akait
39cfade7f8
fix(css/modules): Fix parsing and refactor code (#6132) 2022-10-13 12:17:11 +09:00
SWC Bot
56da9981bb chore: Publish crates 2022-10-12 10:06:01 +00:00
Vincent Ricard
205a317c4d
feat(css/minifier): Compute calc expressions (#5966) 2022-10-12 10:03:14 +00:00
SWC Bot
7e1972df7a chore: Publish crates 2022-10-12 05:34:45 +00:00
Donny/강동윤
5875298377
feat(es/minifier): Merge assignments using sequential inliner (#6103) 2022-10-12 05:31:40 +00:00
SWC Bot
3ac2d89272 chore: Publish crates 2022-10-12 05:02:45 +00:00
Donny/강동윤
d6fd476721
chore(ci): Deny clippy warnings (#6126) 2022-10-12 04:59:54 +00:00
SWC Bot
7c9cb80a52 chore: Publish crates 2022-10-12 04:34:51 +00:00
Donny/강동윤
fc5d8a5d41
feat(es/minifier): Enable reduce_vars by default (#6096) 2022-10-12 04:32:15 +00:00
SWC Bot
3b05c0f86b chore: Publish crates 2022-10-12 03:43:14 +00:00
Donny/강동윤
92f4f309f8
chore: Publish v1.3.7 (#6125) 2022-10-12 03:40:22 +00:00
SWC Bot
8e35f53035 chore: Publish crates 2022-10-12 03:00:58 +00:00
Alexander Akait
c765f0ff73
fix(css/ast): Fix AST types for namespace (#6112) 2022-10-12 02:57:43 +00:00
SWC Bot
bcc68a8e79 chore: Publish crates 2022-10-12 02:32:34 +00:00
Donny/강동윤
66196a65be
feat(es/minifier): Inline pure array literal partially (#6099) 2022-10-12 02:29:40 +00:00
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