Commit Graph

3667 Commits

Author SHA1 Message Date
Donny/강동윤
e60ae2a486
feat(es/minifier): Implement all template literal evaluation rules (#4360)
- We now handle nested template literals.
 - We now drop expressions in template literals if it's ignored.
2022-04-18 02:43:55 +00:00
SWC Bot
7fe0dbc228 chore: Publish crates 2022-04-17 23:46:20 +00:00
Donny/강동윤
2e095face5
feat(es/minifier): Improve evaluation of template literals (#4359) 2022-04-18 08:43:54 +09:00
SWC Bot
479293ba95 chore: Publish crates 2022-04-17 22:47:15 +00:00
Donny/강동윤
bf761752f1
test(es/parser): Add a test for a fixed issue (#4357) 2022-04-17 22:44:46 +00:00
SWC Bot
d58e303e83 chore: Publish crates 2022-04-17 22:18:38 +00:00
Donny/강동윤
e13b8625f2
feat(es/minifier): Implement more evaluation rules (#4356)
- We now handle `array.join` in parallel optimizer.
 - We now handle `[].join` of template literals.
 - We now optimize a template literal as a string addition, in unsafe mode.
2022-04-17 22:16:21 +00:00
SWC Bot
3a0f8b34be chore: Publish crates 2022-04-17 18:38:32 +00:00
Donny/강동윤
8309440008
chore(es): Rename benchmarks (#4355) 2022-04-17 18:36:15 +00:00
Donny/강동윤
77f9c8e5b6 chore: Publish v1.2.168 2022-04-18 02:52:52 +09:00
SWC Bot
b3540848ef chore: Publish crates 2022-04-17 16:26:29 +00:00
Donny/강동윤
da6fa60231
perf(es): Disable wrong parallelization (#4354) 2022-04-17 16:24:00 +00:00
Donny/강동윤
a953455ada chore: Fix CI script 2022-04-18 01:01:16 +09:00
Donny/강동윤
b3b95acc75
feat(es/minifier): const => let (#3654) 2022-04-17 15:52:29 +00:00
Donny/강동윤
f7df3d8f24
chore(repo): Make git commit faster (#4353) 2022-04-17 14:46:45 +00:00
SWC Bot
320e27fb52 chore: Publish crates 2022-04-17 14:27:11 +00:00
Donny/강동윤
42e15aedc2
perf(es/minifier): Split frequently used functions (#4352) 2022-04-17 14:22:38 +00:00
SWC Bot
29ff9cb29f chore: Publish crates 2022-04-17 12:08:09 +00:00
Donny/강동윤
4953ce466f
fix(es/codegen): Emit decorators before export (#4349) 2022-04-17 12:05:47 +00:00
SWC Bot
895ab07893 chore: Publish crates 2022-04-17 10:57:15 +00:00
Donny/강동윤
2563c7f8ff
chore(es/minifier): Improve scripts (#4339) 2022-04-17 19:53:47 +09:00
SWC Bot
5f34b0bd92 chore: Publish crates 2022-04-17 10:19:10 +00:00
Donny/강동윤
14c74f50c0
chore(es/minifier): Organize scripts (#4347) 2022-04-17 10:16:40 +00:00
SWC Bot
a128b658b7 chore: Publish crates 2022-04-17 08:17:44 +00:00
Austaras
5a5e41aaaa
fix(es/minifier): Preserve vars in dead branches (#4345) 2022-04-17 08:15:14 +00:00
Donny/강동윤
2a5c06ff2c chore: Publish v1.2.167 2022-04-17 16:07:01 +09:00
SWC Bot
0be19b1d6b chore: Publish crates 2022-04-17 06:38:07 +00:00
Donny/강동윤
66ff7b8a09
perf(es/minifier): Make name mangler faster (#4342) 2022-04-17 15:35:36 +09:00
SWC Bot
8937e1c499 chore: Publish crates 2022-04-16 15:27:34 +00:00
Pig Fang
31b3336cd5
fix(es/parser): Reject optional constructor call (#4340) 2022-04-16 15:18:14 +00:00
Donny/강동윤
1900d3506e chore(ci): Fix wasm publish script 2022-04-16 08:18:38 +09:00
Donny/강동윤
008e8cbd1b chore: Publish v1.2.166 2022-04-16 07:34:53 +09:00
SWC Bot
3459b18c32 chore: Publish crates 2022-04-15 22:33:58 +00:00
Donny/강동윤
ba5f7436c1
chore(es/minifier): Add full benchmark for .minify() (#4341) 2022-04-15 22:31:15 +00:00
SWC Bot
8191762dd5 chore: Publish crates 2022-04-15 14:18:51 +00:00
Pig Fang
ea466afdc8
fix(es/parser): Make parsing of TS InstantiationExpr more permissive (#4332) 2022-04-15 14:16:31 +00:00
SWC Bot
0b5c782a8e chore: Publish crates 2022-04-15 13:50:08 +00:00
Donny/강동윤
83a8f489ec
refactor(bindings): Rename crates (#4337) 2022-04-15 22:47:44 +09:00
Donny/강동윤
b8d9a58f13 chore: Publish crates 2022-04-15 21:39:29 +09:00
SWC Bot
6b1e175de4 chore: Publish crates 2022-04-15 11:04:04 +00:00
Donny/강동윤
4110fcb961
fix(es/minifier): Inline before cloning (#4338) 2022-04-15 11:01:29 +00:00
SWC Bot
075c7ff79d chore: Publish crates 2022-04-15 08:28:31 +00:00
Donny/강동윤
f92242dcb1
feat(es/minifier): Improve sequential inliner (#4335)
- We now skip more expressions.
2022-04-15 08:25:31 +00:00
SWC Bot
4f9b9666d3 chore: Publish crates 2022-04-15 08:02:32 +00:00
Dion
4c9973010a
fix(es/codegen): Fix codegen of arrow expressions (#4306)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-04-15 08:00:04 +00:00
SWC Bot
995b4367cc chore: Publish crates 2022-04-15 07:39:50 +00:00
Donny/강동윤
7599fe7431
fix(es/parser): Enable static blocks by default (#4334) 2022-04-15 07:31:41 +00:00
SWC Bot
1a752de78e chore: Publish crates 2022-04-14 06:03:03 +00:00
Donny/강동윤
8886a4b572
fix(es/minifier): Respect dead_code (#4328) 2022-04-14 06:00:43 +00:00
SWC Bot
62b021b5b2 chore: Publish crates 2022-04-14 04:13:17 +00:00