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
Donny/강동윤
7554482205
fix(es/compat): Fix handling of op-assignment in generator
( #6036 )
2022-10-04 15:17:50 +00:00
SWC Bot
5df3eb1f43
chore: Publish crates
2022-10-04 14:37:35 +00:00
Donny/강동윤
0c67a3adba
fix(es/compat): Fix handling of deep array pattern of object rest pass ( #6035 )
2022-10-04 23:34:03 +09:00
SWC Bot
676831477c
chore: Publish crates
2022-10-04 12:46:12 +00:00
Donny/강동윤
80da0981bd
feat(es/compat): Support iterator protocol on loose mode ( #6034 )
2022-10-04 21:42:39 +09:00
SWC Bot
6749e6948e
chore: Publish crates
2022-10-04 07:58:11 +00:00
Donny/강동윤
197c4e269d
fix(es/minifier): Don't evaluate String.fromCharCode
for non-ascii values ( #6033 )
2022-10-04 16:46:59 +09:00
SWC Bot
7746bfb31b
chore: Publish crates
2022-10-03 09:02:17 +00:00
Austaras
c4850997a2
feat(es/minifier): Inline vars initialized before the declaration ( #6027 )
2022-10-03 08:58:38 +00:00
SWC Bot
8e67fcc357
chore: Publish crates
2022-10-03 07:31:41 +00:00
Donny/강동윤
877936f626
feat(es/minifier): Clone trivial literals in sequential inliner ( #6005 )
...
**Description:**
As our minifier is two-pass by default, this is enough.
At the first pass, we inline all numeric literals using sequential inliner, and minifier can then inline constants correctly in the second pass.
2022-10-03 07:20:48 +00:00
SWC Bot
d620ce60ff
chore: Publish crates
2022-10-02 15:36:08 +00:00
IWANABETHATGUY
5ea2d81aa3
perf(common): Split the mutex for the hygiene system ( #6019 )
2022-10-03 00:32:22 +09:00
SWC Bot
b450e3829b
chore: Publish crates
2022-10-02 11:05:09 +00:00
Donny/강동윤
2b627524ac
feat(es/minifier): Ignore return values of ignored IIFEs ( #6020 )
...
**Description:**
As we are not using the return value of the function, we can call `ignore_return_value` on the argument of the return statements of IIFE.
2022-10-02 20:01:56 +09:00
SWC Bot
5000d05af1
chore: Publish crates
2022-10-02 10:32:44 +00:00
RiESAEX
8fea8ca3fa
fix(bindings): Fix type definitions ( #6018 )
2022-10-02 10:24:09 +00:00
Jeonguk Choi
185d6fe982
chore: Update README.md
( #6007 )
2022-10-02 08:08:13 +00:00
SWC Bot
59ce1f4e82
chore: Publish crates
2022-10-02 07:03:11 +00:00
Donny/강동윤
1aae503913
test(es/minifier): Organize terser tests ( #6015 )
2022-10-02 07:00:10 +00:00
SWC Bot
55ea637450
chore: Publish crates
2022-10-01 09:27:16 +00:00
Austaras
61807abf6e
feat(es/minifier): Inline function calls in more cases ( #6010 )
2022-10-01 18:18:45 +09:00
SWC Bot
b6824ff254
chore: Publish crates
2022-10-01 03:36:56 +00:00
Austaras
31ffd5a01d
fix(es/renamer): Use a separate scope for the name of FnExpr
( #6008 )
2022-10-01 12:33:19 +09:00
SWC Bot
628b1a8455
chore: Publish crates
2022-09-30 09:47:09 +00:00
Donny/강동윤
286334c4d0
feat(es/minifier): Drop vars from sequential inliner ( #5993 )
...
**Description:**
This PR renames `CloningMultiReplacer` to `Finalizer` and makes it handle the removal of unused variables. Also, this PR improves the sequential inliner so we can drop variables within a single pass.
2022-09-30 09:43:31 +00:00
SWC Bot
97c2e3bf71
chore: Publish crates
2022-09-30 08:57:12 +00:00
Donny/강동윤
2ee3ad0066
fix(es/minifier): Don't inline into nested scope ( #6002 )
...
**Related issue:**
- https://github.com/vercel/next.js/discussions/30237#discussioncomment-3768734
2022-09-30 08:53:20 +00:00
SWC Bot
77836e58e9
chore: Publish crates
2022-09-30 08:00:38 +00:00
Donny/강동윤
10fb645552
chore(ci): Merge CI scripts ( #5999 )
...
**Description:**
This PR merges CI scripts, and make integration tests use patched crates.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5540 .
2022-09-30 16:57:15 +09:00
SWC Bot
2f626e95eb
chore: Publish crates
2022-09-30 07:16:28 +00:00
Donny/강동윤
8b31b65059
fix(es/codegen): Improve performance of debug build ( #6003 )
2022-09-30 16:12:56 +09:00
OJ Kwon
3204ac3e0c
build(cargo): Use workspace deps for internal pkg ( #6001 )
2022-09-30 15:48:23 +09:00
SWC Bot
b2da9f6c8f
chore: Publish crates
2022-09-30 05:33:21 +00:00
Alexander Akait
35da76241d
feat(html/codegen): Add an option to keep quotes while minifying ( #5996 )
2022-09-30 05:29:58 +00:00
SWC Bot
3f23de8b86
chore: Publish crates
2022-09-30 04:47:02 +00:00
OJ Kwon
af64217f19
build(cargo): Introduce workspace deps ( #5997 )
2022-09-30 13:43:32 +09:00
Donny/강동윤
fbc09d0cba
chore: Publish v1.3.4
( #5998 )
2022-09-30 12:47:00 +09:00
SWC Bot
ff7da14184
chore: Publish crates
2022-09-30 02:15:49 +00:00
Alexander Akait
a716b40d05
chore(html/minifier): Typo ( #5995 )
2022-09-30 02:11:47 +00:00
SWC Bot
447e2449d9
chore: Publish crates
2022-09-29 11:06:36 +00:00