Commit Graph

3105 Commits

Author SHA1 Message Date
Austaras
e1b13eb21a
feat(es/codegen): Optimize output of new expressions without arguments (#3800) 2022-03-01 10:55:49 +00:00
SWC Bot
d25ac78865 chore: Publish crates 2022-03-01 10:25:03 +00:00
OJ Kwon
8f41d7a10e
feat(es/compat): Add tracing support for es2020 transforms (#3798) 2022-03-01 10:22:53 +00:00
SWC Bot
1a79eb984e chore: Publish crates 2022-03-01 09:58:04 +00:00
Donny/강동윤
8beaa202e2
fix(es/minifier): Fix optimizations of terminating expressions (#3794) 2022-03-01 09:55:45 +00:00
SWC Bot
518c87d828 chore: Publish crates 2022-03-01 09:09:46 +00:00
OJ Kwon
99d536e486
feat(plugin/runner): Update wasmer to v2.2 (#3788) 2022-03-01 09:07:39 +00:00
SWC Bot
e0572855bd chore: Publish crates 2022-03-01 08:43:45 +00:00
OJ Kwon
95ecc013fe
fix(node-swc/cli): Correctly expose swcx entrypoint (#3784) 2022-03-01 08:41:45 +00:00
SWC Bot
0c22af3f02 chore: Publish crates 2022-03-01 08:23:08 +00:00
OJ Kwon
7fd0eeecb8
perf(plugin/runner): Optimize write_into_memory_view (#3797) 2022-03-01 08:20:56 +00:00
SWC Bot
c8a605c8a0 chore: Publish crates 2022-03-01 07:52:30 +00:00
Pig Fang
e389bef3ad
feat(css/lints): Add selector-max-combinators rule (#3789) 2022-03-01 07:45:15 +00:00
SWC Bot
761fb9c244 chore: Publish crates 2022-03-01 07:12:48 +00:00
Austaras
5b6beca1af
feat(es/compat): Use sequence expressions instead of iife in classes pass (#3773) 2022-03-01 16:10:57 +09:00
SWC Bot
1ef8f3749b chore: Publish crates 2022-03-01 06:30:55 +00:00
OJ Kwon
4d7048291f
feat(es/compat): Add tracing support for es2022 transforms (#3785) 2022-03-01 06:24:13 +00:00
SWC Bot
6819930b63 chore: Publish crates 2022-03-01 06:00:47 +00:00
Donny/강동윤
b485b5a1d5
fix(es/react): Fix logic for extracting refresh comments (#3796) 2022-03-01 05:58:40 +00:00
SWC Bot
b75a038706 chore: Publish crates 2022-03-01 14:22:55 +09:00
underfin
557a520a6d
feat(es/modules): Support system js (#3659) 2022-03-01 05:18:55 +00:00
SWC Bot
ea3f965407 chore: Publish crates 2022-03-01 04:56:41 +00:00
Denis Bezrukov
19b84e7723
feat(es/dep-graph): Add support for require.resolve (#3783) 2022-03-01 04:52:01 +00:00
SWC Bot
12321dfe7e chore: Publish crates 2022-03-01 04:28:42 +00:00
OJ Kwon
5ae907f6f2
fix(es/react): Catch refresh directives widely (#3791) 2022-03-01 04:26:37 +00:00
SWC Bot
cc12b674eb chore: Publish crates 2022-03-01 03:48:18 +00:00
OJ Kwon
bc60a6e90c
feat(plugin): Expose swc_ecma_quote (#3790) 2022-03-01 12:46:16 +09:00
SWC Bot
3c2f5dbd6c chore: Publish crates 2022-03-01 11:58:19 +09:00
SWC Bot
c87fdadaa5 chore: Publish crates 2022-03-01 02:52:08 +00:00
OJ Kwon
3c1c5d0363
docs(adr): Add adr-00002 for event trace profiling (#3787) 2022-03-01 02:28:58 +00:00
SWC Bot
b1fbf5ae82 chore: Publish crates 2022-02-28 16:56:25 +00:00
Pig Fang
b8211da1c9
refactor(css/lints): Simplify error reporting API (#3781) 2022-02-28 16:54:01 +00:00
SWC Bot
bfc31c4bd1 chore: Publish crates 2022-02-28 16:33:26 +00:00
Donny/강동윤
73cab638a1
fix(es/minifier): Preserve unresolved references (#3780)
swc_ecma_minifier:
 - `pure`: Add an optional list of bindings.
 - `pure`: Drop identifier only if we have the complete list of bindings.
 - `pure`: Allow using `GLOBALS`.
 - `pure`: Drop some pure member expressions.
 - Move identifier dropping logic from the stateful optimizer to the pure optimizer.
 - `pure`: Drop more references to global declarations.
2022-02-28 16:31:13 +00:00
SWC Bot
a26edd2b0f chore: Publish crates 2022-02-28 13:53:22 +00:00
Donny/강동윤
86072b57f9
test(es/minifier): Prepare porting more rules from terser (#3779) 2022-02-28 13:49:10 +00:00
SWC Bot
1d0c5f600b chore: Publish crates 2022-02-28 13:01:51 +00:00
Donny/강동윤
714e05e553
feat(es/minifier): Consider arguments while dropping unused assignments (#3775)
swc_ecma_minifier:
 - `analyze`: Track usage of `arguments`.
2022-02-28 21:57:09 +09:00
SWC Bot
f71eb26bd4 chore: Publish crates 2022-02-28 12:26:08 +00:00
Alexander Akait
189707a1fd
test(css/parser): Add css files for material design (#3777) 2022-02-28 21:17:50 +09:00
SWC Bot
ca10ae1cd7 chore: Publish crates 2022-02-28 12:09:30 +00:00
Donny/강동윤
cfc036381a
fix(es/minifier): Fix inlining logic (#3776)
swc_ecma_minifier:
 - Make `inline_vars_in_node` use `MultiReplacer`.
2022-02-28 12:07:12 +00:00
SWC Bot
f81e9bf208 chore: Publish crates 2022-02-28 11:18:36 +00:00
Donny/강동윤
e3c374b53b
feat(es/quote): Support variables (#3774) 2022-02-28 10:44:06 +00:00
SWC Bot
708ecc5970 chore: Publish crates 2022-02-28 08:28:26 +00:00
Alexander Akait
1651bccf45
test(css/parser): Add tests for selectors (#3770)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-02-28 08:26:23 +00:00
SWC Bot
ba3fdad025 chore: Publish crates 2022-02-28 07:43:17 +00:00
Donny/강동윤
e7f7f69db4
fix(es/minifier): Disable some operations for asm.js codes (#3572) 2022-02-28 07:40:04 +00:00
SWC Bot
1d3a76ddf8 chore: Publish crates 2022-02-28 07:14:19 +00:00
Donny/강동윤
3798436201
chore: Update rustc (#3768) 2022-02-28 16:12:28 +09:00