From db62a39278b66f283837242e6070564bcb48bfdf Mon Sep 17 00:00:00 2001 From: Sandwich <299465+dskvr@users.noreply.github.com> Date: Tue, 17 Dec 2024 19:00:07 +0100 Subject: [PATCH] worker-relay prepare --- libraries/worker-relay/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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",