From 472652be84d448b3612e806db8199cada04bee84 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Wed, 1 Jan 2025 13:13:54 -0500 Subject: [PATCH] chore: disable `wasm-opt` for dev build --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 297961e..c8a37c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"