mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
b87ac646f8
**Description:** Previously it was impossible to minify non-strict code (e.g. `delete identifier;`) because `minify()` unconditionally parsed the input as a module regardless of the `module` setting. **BREAKING CHANGE:** `minify()` now respects the `module` parameter instead of ignoring it, so users who had been processing modules with `minify()` without passing `{ module: true }` will now need to pass it. **Related issue** - Closes #6130. Signed-off-by: Anders Kaseorg <andersk@mit.edu> |
||
---|---|---|
.. | ||
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.