Skip to content

Commit

Permalink
chore: disable wasm-opt for dev build
Browse files Browse the repository at this point in the history
  • Loading branch information
chenrui333 committed Jan 1, 2025
1 parent c2c1a5c commit 472652b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ clap_mangen = "0.2"
[dev-dependencies]
wasm-bindgen-test = "0.3.13"

[package.metadata.wasm-pack.profile.dev]
wasm-opt = false

[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"

0 comments on commit 472652b

Please sign in to comment.