SWC Bot
c53a655154
chore: Publish crates
2023-10-02 16:45:51 +00:00
Austaras
06b6eb9999
fix(es/compat): Generate OptCall
for OptCall
for private fields ( #8031 )
...
**Related issue:**
- Closes #8003
2023-09-29 21:32:48 +00:00
SWC Bot
78e12595a4
chore: Publish crates
2023-09-26 03:59:50 +00:00
SWC Bot
b74a9f4357
chore: Publish crates
2023-09-25 23:38:00 +00:00
SWC Bot
e146ff7d8e
chore: Publish crates
2023-09-25 01:42:53 +00:00
magic-akari
9c9a538f23
refactor(es/typescript): Reimplement TypeScript pass ( #7202 )
...
**Description:**
## Bugfixes
- Exported `let`/`var` declarations in TypeScript namespaces should be mutable.
- Fix missing declaration of complex exported patterns in TypeScript namespaces.
- Preserve concrete TS namespaces.
## New Features
- Introducing [Verbatim Module Syntax](https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax ).
- Enum value will now be inlined whenever possible within a single module, optimizing runtime performance.
- Constant enums will be automatically eliminated when feasible, This can reduce bundle size.
- Added support for cross-referencing enum values.
## Deprecated
`TsEnumConfig` is deprecated
- The `treat_const_enum_as_enum` transform option is deprecated.
- The `ts_enum_is_readonly` assumption option is deprecated.
**BREAKING CHANGE:**
TypeScript Config is changed.
**Related issue:**
- Closes #5197
- Closes #5259
- Closes #7177
- Closes #7453
- Closes #7676
- Closes #7681
- Closes #7791
- Closes #7961
2023-09-25 01:41:00 +00:00
SWC Bot
0d0f04689c
chore: Publish crates
2023-09-11 08:33:49 +00:00
SWC Bot
5431010c75
chore: Publish crates
2023-09-10 07:00:21 +00:00
SWC Bot
4623b3e07f
chore: Publish crates
2023-09-05 12:26:15 +00:00
Donny/강동윤
ee7575695d
feat(es/codegen): Add an option to print assert
for import attributes ( #7914 )
...
**Description:**
- `jsc.experimental.keepImportAssertions` is renamed to `jsc.experimental.keepImportAttributes`.
- `jsc.experimental.emitAssertForImportAttributes` is added.
**Related issue:**
- Closes #7908
2023-09-05 21:24:25 +09:00
SWC Bot
d1ec49e3e5
chore: Publish crates
2023-08-31 13:25:10 +00:00
SWC Bot
482306086d
chore: Publish crates
2023-08-31 05:56:04 +00:00
Austaras
2db10e9fd1
fix(es/resolver): Correctly resolve global value ( #7893 )
...
**Related issue:**
- Closes #7685
2023-08-31 05:54:18 +00:00
SWC Bot
853b4803ad
chore: Publish crates
2023-08-30 02:26:08 +00:00
SWC Bot
4a2c24bbec
chore: Publish crates
2023-08-29 05:06:03 +00:00
SWC Bot
562f5e1eb3
chore: Publish crates
2023-08-28 00:31:39 +00:00
Donny/강동윤
4d3fcb86e4
feat(es/ast): Support import attributes proposal ( #7868 )
...
**Related issue:**
- Closes #7179
2023-08-28 00:29:45 +00:00
SWC Bot
5d25307a1a
chore: Publish crates
2023-08-27 23:38:50 +00:00
SWC Bot
2be46c920c
chore: Publish crates
2023-08-27 18:25:51 +00:00
SWC Bot
7b5cb902a5
chore: Publish crates
2023-08-24 12:58:41 +00:00
SWC Bot
a9a6928a4e
chore: Publish crates
2023-08-24 08:20:56 +00:00
SWC Bot
0d036b4915
chore: Publish crates
2023-08-16 19:11:18 +00:00
SWC Bot
e9dfe879d9
chore: Publish crates
2023-08-16 18:04:14 +00:00
SWC Bot
d5495eeb9a
chore: Publish crates
2023-08-16 14:18:56 +00:00
SWC Bot
2dc88ef147
chore: Publish crates
2023-08-16 13:26:52 +00:00
SWC Bot
a671afa0aa
chore: Publish crates
2023-08-16 02:12:39 +00:00
SWC Bot
0f66ee315a
chore: Publish crates
2023-08-14 15:47:58 +00:00
SWC Bot
74d446f759
chore: Publish crates
2023-08-14 01:35:45 +00:00
SWC Bot
b5dcce03c1
chore: Publish crates
2023-08-10 08:01:19 +00:00
SWC Bot
e90b555790
chore: Publish crates
2023-08-09 20:44:26 +00:00
Donny/강동윤
eff0caca2b
feat(es/minifier): Support mangle.eval
( #7777 )
...
**Related issue:**
- Closes #7754
2023-08-09 20:42:12 +00:00
SWC Bot
0edc4207f4
chore: Publish crates
2023-08-09 20:04:15 +00:00
SWC Bot
14906e279f
chore: Publish crates
2023-08-07 22:20:08 +00:00
SWC Bot
0219eebeb9
chore: Publish crates
2023-08-07 21:31:50 +00:00
SWC Bot
1e6ade8cfa
chore: Publish crates
2023-08-07 20:01:21 +00:00
SWC Bot
51d17b66ad
chore: Publish crates
2023-08-06 22:16:01 +00:00
SWC Bot
97289b4edc
chore: Publish crates
2023-08-06 20:31:13 +00:00
SWC Bot
1a5a3313cf
chore: Publish crates
2023-07-31 04:12:06 +00:00
Austaras
5ea6f27eb0
fix(es/minifier): Handle synthesized export default expression ( #7707 )
...
**Related issue:**
- Closes #7634 .
2023-07-31 04:10:18 +00:00
SWC Bot
ef306256d2
chore: Publish crates
2023-07-31 03:33:30 +00:00
SWC Bot
d3b516d692
chore: Publish crates
2023-07-28 05:59:26 +00:00
SWC Bot
aff07b1a0a
chore: Publish crates
2023-07-21 02:00:00 +00:00
SWC Bot
026101b71e
chore: Publish crates
2023-07-20 05:57:51 +00:00
SWC Bot
3c89bdfd99
chore: Publish crates
2023-07-18 04:13:08 +00:00
Donny/강동윤
a65be14a00
fix(es/minifier): Do not reuse identifier used for import bindings ( #7639 )
...
**Related issue:**
- Closes #7634 .
2023-07-18 04:11:00 +00:00
Donny/강동윤
6be1f7075d
fix(es/minifier): Fix a bug about eval
of name mangler ( #7615 )
...
**Description:**
- Repro: https://github.com/avitorio/swcminify-debug
**Related issue:**
- https://github.com/vercel/next.js/discussions/30237#discussioncomment-6288339
2023-07-18 01:09:00 +00:00
SWC Bot
26d79444c6
chore: Publish crates
2023-07-13 02:09:23 +00:00
SWC Bot
735a82d6a4
chore: Publish crates
2023-07-05 03:52:51 +00:00
Donny/강동윤
b34f1adbcc
build(cargo): Update rustc
to 2023-07-03
( #7623 )
2023-07-05 03:50:43 +00:00
SWC Bot
cba986807a
chore: Publish crates
2023-06-30 07:43:11 +00:00