mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 07:34:20 +03:00
6b3c0da755
**Description:** This PR adds a Wasm binding which is only capable of stripping TypeScript types. **Related issue:** - https://github.com/marco-ippolito/node/pull/2
27 lines
415 B
TOML
27 lines
415 B
TOML
[workspace]
|
|
members = [
|
|
"binding_core_node",
|
|
"binding_core_wasm",
|
|
"binding_minifier_node",
|
|
"binding_minifier_wasm",
|
|
"binding_typescript_wasm",
|
|
"swc_cli",
|
|
]
|
|
resolver = "2"
|
|
|
|
[profile.release]
|
|
# lto = true
|
|
|
|
# We use CARGO_PROFILE_RELEASE_LTO for production builds
|
|
# lto = "fat"
|
|
|
|
# debug = true
|
|
# opt-level = 'z'
|
|
|
|
# Strip debug symbols
|
|
strip = "symbols"
|
|
|
|
|
|
[profile.dev.package."*"]
|
|
debug-assertions = false
|