mirror of
https://github.com/swc-project/swc.git
synced 2024-11-26 09:54:22 +03:00
perf(bindings/wasm): Shrink the size of the wasm file (#9191)
This commit is contained in:
parent
6f285a53c2
commit
3a23b3d120
@ -16,11 +16,12 @@ resolver = "2"
|
|||||||
# lto = "fat"
|
# lto = "fat"
|
||||||
|
|
||||||
# debug = true
|
# debug = true
|
||||||
# opt-level = 'z'
|
opt-level = 'z'
|
||||||
|
|
||||||
# Strip debug symbols
|
# Strip debug symbols
|
||||||
strip = "symbols"
|
strip = "symbols"
|
||||||
|
|
||||||
|
codegen-units = 1
|
||||||
|
|
||||||
[profile.dev.package."*"]
|
[profile.dev.package."*"]
|
||||||
debug-assertions = false
|
debug-assertions = false
|
||||||
|
Loading…
Reference in New Issue
Block a user