mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 19:52:21 +03:00
9c9a538f23
**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 |
||
---|---|---|
.. | ||
binding_core_node | ||
binding_core_wasm | ||
node_macro_deps | ||
swc_cli | ||
Cargo.lock | ||
Cargo.toml | ||
README.md |
SWC bindings
This folder contains actual bindings binary SWC will build for the supported platforms (@swc/core
, swc_cli
, @swc/wasm
).
All the bindings binary uses publicly published swc_core
SDK to build deterministic host binary for the specific changes, in result Cargo's workspace gets confused to select dependency versions if it belongs to the workspace contains unpublished packages. To avoid those problems, these bindings are not being built as part of the workspace.