Skip to content

Commit 5f3ce78

Browse files
committed
Add napi-wasm as optional peer dependency in @parcel/rust
1 parent a4249c5 commit 5f3ce78

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/core/rust/package.json

+8
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@
3333
"@napi-rs/cli": "^2.15.2",
3434
"napi-wasm": "^1.1.2"
3535
},
36+
"peerDependencies": {
37+
"napi-wasm": "^1.1.2"
38+
},
39+
"peerDependenciesMeta": {
40+
"napi-wasm": {
41+
"optional": true
42+
}
43+
},
3644
"scripts": {
3745
"build": "napi build --platform --cargo-cwd ../../../crates/node-bindings",
3846
"build-canary": "napi build --platform --profile canary --cargo-cwd ../../../crates/node-bindings",

0 commit comments

Comments
 (0)