swc/crates/swc_bundler/tests/fixture
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
..
circular-imports chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-8148 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-8188 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-8211 fix(es/codegen): Remove extra spaces in AssignPatProp and KeyValuePatProp (#7488) 2023-06-07 05:08:35 +00:00
deno-8224 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-8302/1 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-8325 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-8344/1 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-8478 perf(es/hygiene): Make hygiene faster (#4952) 2022-06-15 14:36:57 +00:00
deno-8541 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-8545/simplified-1 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-8574 fix(es/codegen): Remove extra spaces in AssignPatProp and KeyValuePatProp (#7488) 2023-06-07 05:08:35 +00:00
deno-8584 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-8625 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-8626/1 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-8627 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-8679 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-8680 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-8734 perf(es/hygiene): Make hygiene faster (#4952) 2022-06-15 14:36:57 +00:00
deno-8746 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-8978 fix(es/codegen): Don't add a newline after an arrow body (#4711) 2022-05-19 07:12:37 +00:00
deno-9055 fix(es/codegen): Remove extra spaces in AssignPatProp and KeyValuePatProp (#7488) 2023-06-07 05:08:35 +00:00
deno-9076 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-9176 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-9199 refactor: Flatten crates (#2697) 2021-11-09 20:42:49 +09:00
deno-9200 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-9212/case1 fix(es/codegen): Remove extra spaces in AssignPatProp and KeyValuePatProp (#7488) 2023-06-07 05:08:35 +00:00
deno-9219/case1 fix(es/codegen): Remove extra spaces in AssignPatProp and KeyValuePatProp (#7488) 2023-06-07 05:08:35 +00:00
deno-9220/case1 fix(es/compat): Handle useDefineForClassFields: false (#7055) 2023-03-12 12:56:10 +09:00
deno-9250/case1 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-9346 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-9450/case1 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-9546/case1 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-9560/case1 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-9591 refactor(es/typescript): Reimplement TypeScript pass (#7202) 2023-09-25 01:41:00 +00:00
deno-9620 fix(es/codegen): Remove extra spaces in AssignPatProp and KeyValuePatProp (#7488) 2023-06-07 05:08:35 +00:00
deno-9868/case1 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-10141/case1 feat(es/minifier): Support cycles in DCE (#5715) 2022-09-03 04:41:54 +00:00
deno-10174/case1 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
deno-10820/case1 feat(es/minifier): Make DCE single-pass (#5699) 2022-09-01 16:30:21 +00:00
dynamic chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
export-default-star chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
external-require chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
issue-1150 fix(es/codegen): Remove extra spaces in AssignPatProp and KeyValuePatProp (#7488) 2023-06-07 05:08:35 +00:00
issue-1155 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
issue-1156 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
issue-2124 perf(es/hygiene): Make hygiene faster (#4952) 2022-06-15 14:36:57 +00:00
issue-2434/1 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
issue-3043 chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
issue-5642 fix(bundler): Handle star export with top-level await (#5707) 2022-09-01 11:46:31 +00:00
reexport chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00
sort perf(es/hygiene): Make hygiene faster (#4952) 2022-06-15 14:36:57 +00:00
wrapped chore(repo): Configure prettier (#4523) 2022-05-04 14:25:28 +00:00