Skip to content

Commit 4052f22

Browse files
fix: strip release binary to make webpack happy
Add strip=true to release profile for webpack compatibility Issue: BTC-1829
1 parent 9c649f9 commit 4052f22

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/wasm-miniscript/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@ crate-type = ["cdylib"]
1010
wasm-bindgen = "0.2"
1111
js-sys = "0.3"
1212
miniscript = { version = "12.3.0" }
13+
14+
[profile.release]
15+
# this is required to make webpack happy
16+
# https://github.com/webpack/webpack/issues/15566#issuecomment-2558347645
17+
strip = true

0 commit comments

Comments
 (0)