From 93a05d2d7aaa1ef33b041b6878486c6ab4a554e9 Mon Sep 17 00:00:00 2001 From: noClaps <04plugs-bios@icloud.com> Date: Fri, 3 Jan 2025 19:59:55 +0000 Subject: [PATCH] Add targets key to napi in package.json --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a927ddb..c4ffb93 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,10 @@ "package.json" ], "napi": { - "binaryName": "highlight" + "binaryName": "highlight", + "targets": [ + "wasm32-wasip1-threads" + ] }, "scripts": { "build": "napi build --platform --release --strip -o ./dist",