Commit Graph

1890 Commits

Author SHA1 Message Date
Alexander Akait
cf3be649bb
fix(html/parser): Parse foreign attributes (#4400) 2022-04-23 04:26:32 +00:00
SWC Bot
82069d1804 chore: Publish crates 2022-04-23 03:53:14 +00:00
Alexander Akait
63a6280e8f
feat(html/minifier): Initialize crate (#4403) 2022-04-23 03:50:59 +00:00
SWC Bot
258c019f1f chore: Publish crates 2022-04-22 11:23:05 +00:00
Alexander Akait
7332dce4f8
feat(html): Prepare processing system (#4358) 2022-04-22 20:20:47 +09:00
SWC Bot
9dc30a5bc4 chore: Publish crates 2022-04-22 10:39:46 +00:00
Donny/강동윤
efdf93d910
chore(es/minifier): Add a script to instrument real-world inputs (#4399) 2022-04-22 10:37:04 +00:00
SWC Bot
0997081ef9 chore: Publish crates 2022-04-22 09:25:50 +00:00
Donny/강동윤
5134b4f9be
test(es): Add tests for .swcrc (#4398) 2022-04-22 18:23:04 +09:00
Donny/강동윤
60efb7e9c7
chore(plugin): Add a benchmark (#4397) 2022-04-22 14:52:55 +09:00
Donny/강동윤
11a5ad5be5 chore: Publish v1.2.171 2022-04-22 12:21:49 +09:00
Donny/강동윤
971351fe93 chore: Publish crates 2022-04-22 10:50:25 +09:00
SWC Bot
15aad03bff chore: Publish crates 2022-04-22 01:46:47 +00:00
Donny/강동윤
375cc5975a
fix(es/minifier): Disable conditionals by default (#4391) 2022-04-22 10:44:53 +09:00
Donny/강동윤
6b1501cf0f chore: Publish crates 2022-04-22 10:44:27 +09:00
Pig Fang
59f63da560
feat(es/parser): Reject await expr with ** (#4395) 2022-04-22 01:40:14 +00:00
SWC Bot
ee959ee2f6 chore: Publish crates 2022-04-21 13:12:02 +00:00
Donny/강동윤
139ac24c46
fix(es/codegen): Allow non-ascii character in more places (#4394) 2022-04-21 13:09:05 +00:00
SWC Bot
7d23492b16 chore: Publish crates 2022-04-21 10:02:50 +00:00
Austaras
8cf3ddda6c
feat(es/minifier): Improve handling of switches (#4260) 2022-04-21 10:00:25 +00:00
SWC Bot
2033b788a1 chore: Publish crates 2022-04-21 07:26:10 +00:00
Donny/강동윤
87859e373d
fix(es/minifier): Preserve more labels (#4380) 2022-04-21 07:23:50 +00:00
Donny/강동윤
b9cba1ad4d
test(es/parser): Add a test for a fixed issue (#4388) 2022-04-21 06:56:34 +00:00
SWC Bot
a4c708858e chore: Publish crates 2022-04-20 18:01:05 +00:00
Donny/강동윤
000e31b3cd chore: Fix CI, really 2022-04-21 02:41:01 +09:00
Donny/강동윤
11012d07e5 chore: Fix CI 2022-04-21 01:37:39 +09:00
Satish Srinivasan
805238ae30
fix(es): Fix CI (#4385)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-04-21 01:08:01 +09:00
SWC Bot
be085bfb17 chore: Publish crates 2022-04-20 14:33:47 +00:00
Satish Srinivasan
a06c55930f
fix(common): Ignore extraneous mapping of 1, 0 => 0, 0 (#4381) 2022-04-20 23:31:06 +09:00
Donny/강동윤
dc84153ab5 chore: Publish crates 2022-04-20 23:15:56 +09:00
SWC Bot
4f7778930e chore: Publish crates 2022-04-20 13:39:40 +00:00
Donny/강동윤
922299a490
fix(es/minifier): Don't drop labels if required (#4370) 2022-04-20 13:34:21 +00:00
OJ Kwon
8419b60430
fix(plugin): Align deps to fix build (#4377) 2022-04-20 08:05:02 +00:00
Donny/강동윤
a5c2976625 chore: Publish v1.2.170 2022-04-20 16:45:21 +09:00
SWC Bot
d71e17368b chore: Publish crates 2022-04-20 07:43:05 +00:00
Donny/강동윤
203dde9c6b
perf(es/minifier): Fix default of TerserCompressorOptions (#4378) 2022-04-20 16:35:11 +09:00
Donny/강동윤
4a8b1dad1d
test(es/minifier): Organize tests (#4375) 2022-04-20 15:52:03 +09:00
Donny/강동윤
d87bc6e595 chore: Publish v1.2.169 2022-04-20 14:07:36 +09:00
Donny/강동윤
15efe48784 chore: Publish crates 2022-04-20 13:18:26 +09:00
SWC Bot
55708ba272 chore: Publish crates 2022-04-19 22:16:46 +00:00
Hannes Bornö
3bdf5a8960
fix(es/lexer): Fix handling of object properties with the name function (#4374) 2022-04-20 07:14:20 +09:00
SWC Bot
e00ac7e38f chore: Publish crates 2022-04-19 22:05:01 +00:00
Donny/강동윤
a8eb00cc54
perf(es/minifier): Change default value of passes to 3 (#4373) 2022-04-19 22:02:33 +00:00
SWC Bot
aef1155311 chore: Publish crates 2022-04-19 18:15:24 +00:00
Donny/강동윤
5d179bfd7d
chore(es/minifier): Setup correct benchmark (#4372) 2022-04-19 18:12:04 +00:00
SWC Bot
bddccf68cf chore: Publish crates 2022-04-19 17:15:03 +00:00
RiESAEX
c4f01c6d60
feat(cli): Support configuring output file extension (#4343) 2022-04-20 02:12:28 +09:00
SWC Bot
aabdcf092d chore: Publish crates 2022-04-19 14:44:04 +00:00
Donny/강동윤
6300b9cdb1
perf(es/minifier): Make base54 use stack-allocated vector (#4371) 2022-04-19 14:41:26 +00:00
SWC Bot
0890de43ee chore: Publish crates 2022-04-19 09:16:52 +00:00
Donny/강동윤
4b1590e72f
fix(es/minifier): Apply name mangler even more (#4368) 2022-04-19 09:14:15 +00:00
SWC Bot
33e4661090 chore: Publish crates 2022-04-19 08:22:48 +00:00
Donny/강동윤
a8ed5ba357
fix(es/minifier): Apply name mangler as much as we can (#4365) 2022-04-19 17:20:12 +09:00
SWC Bot
43e3a26e4d chore: Publish crates 2022-04-19 07:34:10 +00:00
Donny/강동윤
128175c329
fix(es/minifier): Fix default values of toplevel (#4366) 2022-04-19 07:31:48 +00:00
SWC Bot
2c6abc06fc chore: Publish crates 2022-04-19 05:30:58 +00:00
OJ Kwon
f06c862a9f feat(plugin): Support lookup_char_pos of SourceMap (#4364) 2022-04-19 14:26:28 +09:00
SWC Bot
c769c95ac5 chore: Publish crates 2022-04-18 11:00:14 +00:00
Donny/강동윤
5c1ce0ba05
fix(es/modules/cjs): Fix order of statements (#4361) 2022-04-18 10:57:55 +00:00
SWC Bot
492611b73a chore: Publish crates 2022-04-18 02:46:44 +00:00
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
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
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/강동윤
b3b95acc75
feat(es/minifier): const => let (#3654) 2022-04-17 15:52:29 +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
Donny/강동윤
2563c7f8ff
chore(es/minifier): Improve scripts (#4339) 2022-04-17 19:53:47 +09: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
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/강동윤
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
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