Skip to content

Commit 071a8d7

Browse files
fix: add browser wasm file to sideEffects
Somehow it worked without this before, but now it doesn't. Issue: BTC-1829
1 parent 4052f22 commit 071a8d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/wasm-miniscript/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"main": "dist/index.js",
2525
"types": "dist/index.d.ts",
2626
"sideEffects": [
27-
"./dist/wasm/wasm_miniscript.js"
27+
"./dist/wasm/wasm_miniscript.js",
28+
"./dist/browser/wasm/wasm_miniscript.js"
2829
],
2930
"browser": {
3031
"./dist/index.js": "./dist/browser/index.js",

0 commit comments

Comments
 (0)