diff --git a/libraries/worker-relay/package.json b/libraries/worker-relay/package.json index 81deac2e..d5a41d24 100644 --- a/libraries/worker-relay/package.json +++ b/libraries/worker-relay/package.json @@ -12,7 +12,8 @@ "scripts": { "build": "rm -rf dist && tsc && pnpm run copy:wasm && pnpm run build:esm", "build:esm": "esbuild src/worker.ts --bundle --minify --sourcemap --outdir=dist/esm --format=esm --out-extension:.js=.mjs --loader:.wasm=copy --watch", - "copy:wasm": "cp src/sqlite/sqlite3.wasm dist/sqlite/sqlite3.wasm" + "copy:wasm": "cp src/sqlite/sqlite3.wasm dist/sqlite/sqlite3.wasm", + "prepare": "pnpm run build" }, "files": [ "src",