SWC Bot
fd453b9170
chore: Publish crates
2022-03-05 19:34:45 +00:00
SWC Bot
2fdc5f625d
chore: Publish crates
2022-03-05 14:52:49 +00:00
Donny/강동윤
44262508c6
fix(es/parser): Use unicode id instead of xid ( #3867 )
2022-03-05 12:24:45 +00:00
SWC Bot
81b2e6153e
chore: Publish crates
2022-03-05 10:03:49 +00:00
Donny/강동윤
e70c9d8f22
fix(es/minifier): Don't remove comments if compress
is not configured ( #3866 )
2022-03-05 10:01:55 +00:00
SWC Bot
3de647a50a
chore: Publish crates
2022-03-05 07:58:10 +00:00
SWC Bot
add86a7e6a
chore: Publish crates
2022-03-05 06:48:00 +00:00
SWC Bot
db2a05fa55
chore: Publish crates
2022-03-04 02:11:24 +00:00
Donny/강동윤
260c2a885e
feat(es/minifier): Implement more rules ( #3841 )
...
swc_ecma_minifier:
- `conditionals`: Preserve a conditional expression if test is not resolved.
- `unsafe_arrows`: Optimize an anonymous function expression as an arrow expression.
- `unsafe_methods`: Optimize a method property where the only statement is return to an arrow expression.
2022-03-04 02:09:15 +00:00
SWC Bot
8c5067f510
chore: Publish crates
2022-03-03 22:01:08 +00:00
Donny/강동윤
0fc819e2ef
fix(es/minifier): Support declaring multiple bindings with the same name ( #3837 )
2022-03-04 06:58:39 +09:00
SWC Bot
5f8f114b62
chore: Publish crates
2022-03-04 05:26:32 +09:00
SWC Bot
b9756596ae
chore: Publish crates
2022-03-03 19:20:31 +00:00
Donny/강동윤
364532e9a7
feat(es/minifier): Improve sequential inlining ( #3820 )
2022-03-03 19:18:43 +00:00
SWC Bot
4a38e93efc
chore: Publish crates
2022-03-03 16:37:49 +00:00
Donny/강동윤
efc67417a5
feat(config): Add a dedicated cached regex ( #3832 )
2022-03-03 16:35:41 +00:00
Donny/강동윤
351b814ed0
perf(es): Use Mutex
from parking_lot
( #3830 )
2022-03-03 14:26:49 +00:00
Donny/강동윤
043fba274e
fix(es/hygiene): Fix renaming bugs ( #3824 )
2022-03-03 06:21:13 +00:00
Donny/강동윤
8a468f7544
fix(es/minifier): Don't reorder unnecessarily ( #3817 )
2022-03-02 08:57:50 +00:00
SWC Bot
6ba3c1bf3b
chore: Publish crates
2022-03-02 07:15:46 +00:00
Donny/강동윤
89388e6ac3
fix(es/minifier): Preserve more variables ( #3805 )
2022-03-02 07:13:57 +00:00
SWC Bot
5667316f12
chore: Publish crates
2022-03-02 06:48:09 +00:00
Donny/강동윤
789eb7baa9
feat(es/minifier): Drop more function parameters in strict mode ( #3814 )
2022-03-02 06:41:11 +00:00
Austaras
e1b13eb21a
feat(es/codegen): Optimize output of new expressions without arguments ( #3800 )
2022-03-01 10:55:49 +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
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
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
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
Donny/강동윤
3798436201
chore: Update rustc
( #3768 )
2022-02-28 16:12:28 +09:00
SWC Bot
4fe874dd77
chore: Publish crates
2022-02-26 15:11:21 +00:00
Donny/강동윤
3d944656bf
refactor(es): Make compilation faster ( #3749 )
2022-02-26 06:41:14 +00:00
SWC Bot
2ab150c603
chore: Publish crates
2022-02-26 12:11:27 +09:00
Donny/강동윤
47ccff8a7c
feat(es/parser): Provide more api for reducing binary size ( #3747 )
2022-02-26 09:29:05 +09:00
SWC Bot
9a4e961b2b
chore: Publish crates
2022-02-25 19:50:18 +00:00
SWC Bot
8f1aef47d4
chore: Publish crates
2022-02-25 06:10:45 +00:00
OJ Kwon
a454996314
feat(node-swc): Add experimental trace support in @swc/core
( #3731 )
2022-02-25 04:06:45 +00:00
SWC Bot
8c94ea9fc5
chore: Publish crates
2022-02-24 09:22:18 +00:00
Donny/강동윤
e35d73adf4
chore(clippy): Improve config ( #3691 )
2022-02-23 06:07:42 +00:00
SWC Bot
e4c674b9cb
chore: Publish crates
2022-02-21 13:10:43 +00:00
SWC Bot
e08a2c2c17
chore: Publish crates
2022-02-21 07:15:09 +00:00
Austaras
2cb66ae075
refactor(es/ast): Change definition of optional chaining expressions ( #3645 )
2022-02-21 07:12:09 +00:00
SWC Bot
bea6810c08
chore: Publish crates
2022-02-21 05:36:52 +00:00