Skip to content

Commit

Permalink
Add targets key to napi in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
noClaps committed Jan 3, 2025
1 parent b543c52 commit 93a05d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
"package.json"
],
"napi": {
"binaryName": "highlight"
"binaryName": "highlight",
"targets": [
"wasm32-wasip1-threads"
]
},
"scripts": {
"build": "napi build --platform --release --strip -o ./dist",
Expand Down

0 comments on commit 93a05d2

Please sign in to comment.