Skip to content

Commit

Permalink
build(api-finance): custom release profile for optimize wasm bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
spicyzboss committed May 22, 2024
1 parent 8d3bf6b commit e0e33a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/api_finance/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ edition.workspace = true
[package.metadata.wasm-pack.profile.release]
wasm-opt = true

[profile.release]
lto = true
strip = true
codegen-units = 1

[lib]
crate-type = ["cdylib"]

Expand Down

0 comments on commit e0e33a0

Please sign in to comment.