Commit Graph

3650 Commits

Author SHA1 Message Date
SWC Bot
14ab63b26e chore: Publish crates 2022-04-03 14:12:13 +00:00
magic-akari
6d380ea6fa
fix(es/parser): Support error reporting for TS1274 (#4232) 2022-04-03 23:09:36 +09:00
SWC Bot
6e4dc582ba chore: Publish crates 2022-04-03 13:15:32 +00:00
Donny/강동윤
fe358ad0b9
feat(es/minifier): Improve sequential inlining (#4231) 2022-04-03 13:13:15 +00:00
SWC Bot
aac4e34d91 chore: Publish crates 2022-04-03 11:49:06 +00:00
Donny/강동윤
55b98fc874
fix(es/minifier): Remap variables on IIFE evaluation (#4230)
- We now check if there's pending inlining before remapping variables.
 - We now use ad-hoc type for remapping.
 - We now inline before remapping to prevent interference with inlining.
2022-04-03 11:39:05 +00:00
Donny/강동윤
012d3a67fa chore: Publish v1.2.163 2022-04-03 16:06:38 +09:00
SWC Bot
833b045102 chore: Publish crates 2022-04-03 06:25:15 +00:00
OJ Kwon
6ea66cf001
feat(plugin): Implement plugin api for comments (#4229) 2022-04-03 15:22:36 +09:00
Donny/강동윤
f39895e563 chore: Publish crates 2022-04-02 16:25:18 +09:00
Donny/강동윤
7eea95be7a
fix(es/preset-env): Change order of passes 2022-04-02 06:57:17 +00:00
SWC Bot
372f81fd97 chore: Publish crates 2022-04-02 06:32:21 +00:00
Donny/강동윤
bbbaf15bba
test(es): Add a test to ensure that an issue is not a bug of swc (#4227) 2022-04-02 06:29:09 +00:00
SWC Bot
3337777f8c chore: Publish crates 2022-04-02 06:06:39 +00:00
Alexander Akait
e91f271873
feat(es/ast): Add raw to BigInt (#4218) 2022-04-02 06:04:14 +00:00
SWC Bot
257f0dbb7f chore: Publish crates 2022-04-02 05:37:49 +00:00
Alexander Akait
def2826029
feat(css/ast): Derive more traits (#4220) 2022-04-02 14:35:05 +09:00
SWC Bot
0bac3d08f0 chore: Publish crates 2022-04-02 05:34:19 +00:00
Victor Sumner
69cb512e57
fix(cli): Update plugin template (#4222) 2022-04-02 05:31:57 +00:00
Donny/강동윤
ac2357ebd9 chore: Publish crates 2022-04-02 01:59:34 +09:00
SWC Bot
77abfef314 chore: Publish crates 2022-04-01 11:55:47 +00:00
Alexander Akait
6696a93b5c
refactor(css/ast): Union all at-rules to one at-rule in AST (#4189) 2022-04-01 20:53:23 +09:00
SWC Bot
d2f44095dc chore: Publish crates 2022-04-01 11:14:19 +00:00
Donny/강동윤
688f653323
perf(es/minifier): Add fast-path for sequences pass (#4217) 2022-04-01 11:06:35 +00:00
SWC Bot
4679f65782 chore: Publish crates 2022-04-01 06:54:28 +00:00
Alexander Akait
75b0ed55f6
fix(css/prefixer): Fix flex box (#4212) 2022-04-01 06:52:03 +00:00
SWC Bot
ee9e661e03 chore: Publish crates 2022-04-01 06:22:48 +00:00
Donny/강동윤
164556290b
perf(es/parser): Improve performance by using #[cold] (#4215) 2022-04-01 06:20:29 +00:00
SWC Bot
1068561800 chore: Publish crates 2022-04-01 04:29:08 +00:00
magic-akari
b793aa0200
feat(es/compat): Support more regex expressions (#4205) 2022-04-01 04:26:30 +00:00
Donny/강동윤
a05a0d58a6 chore: Publish v1.2.162 2022-03-31 23:12:53 +09:00
Donny/강동윤
60c9ddf5fd chore: Publish crates 2022-03-31 23:08:24 +09:00
Donny/강동윤
61366c85b3 chore: Publish crates 2022-03-31 23:06:10 +09:00
SWC Bot
d19c8a8aa3 chore: Publish crates 2022-03-31 13:03:06 +00:00
magic-akari
6a27a0ce88
fix(es/compat): Hoist env in function params (#4210) 2022-03-31 13:00:19 +00:00
SWC Bot
809c87e8b7 chore: Publish crates 2022-03-31 11:42:47 +00:00
Donny/강동윤
3b1da220e2
refactor(*): Remove fastmem (#4211) 2022-03-31 11:40:06 +00:00
SWC Bot
30742ae6e7 chore: Publish crates 2022-03-31 09:14:23 +00:00
Donny/강동윤
10718547e0
fix(es/minifier): Fix evaluation of IIFEs (#4207)
- We now remap parameters using a new syntax context. This is required because we may copy functions, and it can result in duplicated variables with respect to the span hygiene.
 - We now visit the sequence expression generated by inlining. This is to improve performance in some cases.
 - We now remove variables from variable statements if it's identical to a parameter declared in the function.
 - IIFE evaluation is now aware of `this` being different for member expressions.
 - We now have more logic for detecting simple functions.
2022-03-31 09:11:54 +00:00
SWC Bot
79866cf0d2 chore: Publish crates 2022-03-31 08:47:32 +00:00
OJ Kwon
536a190dc9
feat(plugin): Implement PoC of comments api (#4206) 2022-03-31 08:45:08 +00:00
SWC Bot
be9017dfe1 chore: Publish crates 2022-03-31 07:16:00 +00:00
OJ Kwon
eecda21d9a
fix(node-swc): Initialize custom trace subscriber only once (#4209) 2022-03-31 07:11:31 +00:00
SWC Bot
24ce355d77 chore: Publish crates 2022-03-31 00:56:42 +00:00
overlookmotel
073751f70d
fix(es/optimization): Support jsx in dce (#4203) 2022-03-31 00:54:20 +00:00
SWC Bot
30cde5b0eb chore: Publish crates 2022-03-30 23:37:49 +00:00
Donny/강동윤
11fe5fabd8
feat(es/minifier): Evaluate more iifes (#4200) 2022-03-30 23:35:30 +00:00
SWC Bot
c6a583741c chore: Publish crates 2022-03-30 22:53:40 +00:00
Donny/강동윤
1ad357cb32
feat(common/preset-env): Dedup arrayvec (#4201) 2022-03-30 22:50:11 +00:00
SWC Bot
19bc43f3ed chore: Publish crates 2022-03-30 22:03:54 +00:00