SWC Bot
969c6eeeeb
chore: Publish crates
2022-10-08 03:17:53 +00:00
Donny/강동윤
9ce3df091f
feat(es/minifier): Distinguish calls in alias analyzer ( #6080 )
...
**Description:**
This PR improves the alias analyzer by distinguishing call and reference, thus reducing the number of identifiers.
---
Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
2022-10-08 03:15:18 +00:00
SWC Bot
da1b2b32a2
chore: Publish crates
2022-10-08 00:53:47 +00:00
Will Binns-Smith
4cde4f9ace
feat(swc_core): Expose swc_ecma_preset_env
( #6083 )
2022-10-08 09:51:18 +09:00
SWC Bot
17a2f6b893
chore: Publish crates
2022-10-07 14:54:27 +00:00
Alexander Akait
b71dd3ec05
feat(css/ast): Support <general-enclosed>
for @media
at-rules ( #6082 )
2022-10-07 14:51:53 +00:00
SWC Bot
3171718e07
chore: Publish crates
2022-10-07 07:48:18 +00:00
IWANABETHATGUY
8003dc8563
feat(es/codegen): Remove the trailing comma of binding patterns ( #6078 )
2022-10-07 16:45:20 +09:00
SWC Bot
477626b9ff
chore: Publish crates
2022-10-07 05:55:53 +00:00
Donny/강동윤
e6b1dd4731
feat(es/testing): Add an option to test sourcemap ( #6079 )
2022-10-07 05:52:22 +00:00
SWC Bot
d0214c33f1
chore: Publish crates
2022-10-07 05:21:25 +00:00
Donny/강동윤
347d4b7602
feat(css/compat): Implement transform for nested css ( #6077 )
2022-10-07 05:18:14 +00:00
SWC Bot
5c486c5234
chore: Publish crates
2022-10-07 04:11:21 +00:00
Alexander Akait
0a61374d02
feat(css/ast): Support @container
at-rule ( #6076 )
2022-10-07 04:07:49 +00:00
SWC Bot
15044a35b4
chore: Publish crates
2022-10-06 17:30:14 +00:00
Austaras
ac150c7ced
feat(es/minifier): Use usage_count
in sequential inliner ( #6071 )
2022-10-06 17:27:34 +00:00
SWC Bot
d750f0e03c
chore: Publish crates
2022-10-06 16:11:15 +00:00
Donny/강동윤
e88c1c04e1
perf(es/minifier): Remove double-visit of DCE ( #6069 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6066 .
2022-10-06 16:08:03 +00:00
SWC Bot
5f49ac012e
chore: Publish crates
2022-10-06 11:38:55 +00:00
IWANABETHATGUY
047da86baa
chore(common): Make Mark::root
const fn ( #6072 )
2022-10-06 11:36:08 +00:00
SWC Bot
9d6217f036
chore: Publish crates
2022-10-06 09:15:00 +00:00
Austaras
c9427f1ec4
fix(es/minifier): Improve infection analysis ( #6044 )
2022-10-06 18:12:09 +09:00
Donny/강동윤
fee747de59
chore(ci): Fix publish action by reverting #5969
2022-10-06 16:36:01 +09:00
Donny/강동윤
26047bf584
chore: Publish v1.3.5
2022-10-06 05:28:58 +00:00
SWC Bot
07611a935c
chore: Publish crates
2022-10-06 04:50:27 +00:00
Donny/강동윤
38df5978c1
fix(es/minifier): Mark delete
as a property mutation ( #6063 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6004 .
2022-10-06 04:47:58 +00:00
SWC Bot
d02ec8beef
chore: Publish crates
2022-10-06 04:19:31 +00:00
Donny/강동윤
6cdb5ed97f
fix(cli): Configure GLOBALS
( #6061 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6059 .
2022-10-06 04:17:06 +00:00
SWC Bot
39874529e0
chore: Publish crates
2022-10-06 03:46:53 +00:00
Donny/강동윤
39481c622c
chore(ci): Extract bot action to a separate repository ( #6064 )
2022-10-06 12:44:58 +09:00
SWC Bot
69f98b17c0
chore: Publish crates
2022-10-06 03:21:46 +00:00
Mohamed Lamine Allal
69da081798
fix(es): Respect exclude option ( #6054 )
2022-10-06 03:18:03 +00:00
SWC Bot
02a0cd37d7
chore: Publish crates
2022-10-06 02:49:43 +00:00
Donny/강동윤
d65fba134d
fix(es/minifier): Fix infection analysis of sequential inliner ( #6053 )
...
**Description:**
This PR fixes the callee issue by fixing the infection analyzer.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6047
2022-10-06 02:46:22 +00:00
SWC Bot
62dd127e3c
chore: Publish crates
2022-10-06 02:13:20 +00:00
Donny/강동윤
36d467e7d7
fix(es/minifier): Fix analysis of var declaration after usage ( #6043 )
...
**Description:**
`var_initialized` should be `true` even if the declaration of variable comes after its usage.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6039 .
2022-10-06 02:09:13 +00:00
SWC Bot
ad58d5daf8
chore: Publish crates
2022-10-06 01:40:03 +00:00
OJ Kwon
fff4b9ce65
build(cargo): Dedup indexmap
with known version ( #6060 )
2022-10-06 01:36:13 +00:00
Donny/강동윤
d8fc0298e2
chore: Publish crates
2022-10-05 21:36:15 +09:00
SWC Bot
f955f34afc
chore: Publish crates
2022-10-05 12:25:56 +00:00
Donny/강동윤
e3b55e4bcf
fix(es/minifier): Fix optimization of numeric keys ( #6052 )
...
**Description:**
We should not optimize if the key starts with `0`.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6051 .
2022-10-05 12:22:28 +00:00
SWC Bot
cad80e39c8
chore: Publish crates
2022-10-05 11:48:18 +00:00
Donny/강동윤
c5fb774487
fix(es/minifier): Don't skip unresolved identifiers ( #6050 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6049
2022-10-05 11:44:51 +00:00
SWC Bot
d01887e3d1
chore: Publish crates
2022-10-05 09:01:11 +00:00
Donny/강동윤
51e935eb4a
feat(css/modules): Support :global
in @keyframes
( #6046 )
2022-10-05 08:57:43 +00:00
SWC Bot
73362fc8a2
chore: Publish crates
2022-10-05 07:42:12 +00:00
Donny/강동윤
10d0f8e001
feat(css/modules): Support :local
and :global
( #6045 )
...
**Description:**
This PR adds support for `:local` and `:global` directives.
2022-10-05 07:33:40 +00:00
SWC Bot
5618702554
chore: Publish crates
2022-10-05 05:51:59 +00:00
Donny/강동윤
2cce1c82b2
feat(css/modules): Implement css modules ( #6000 )
2022-10-05 05:48:28 +00:00
SWC Bot
37286e369e
chore: Publish crates
2022-10-04 15:22:12 +00:00