diff --git a/package.json b/package.json index 3a83bcb..2a77864 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "dev": "run-p dev:*", "dev:wrangler": "wrangler pages dev dist --live-reload", "dev:esbuild": "esbuild --bundle src/index.ts --format=esm --watch --outfile=dist/_worker.js", - "build": "esbuild --bundle src/index.ts --format=esm --outfile=dist/_worker.js", + "build": "esbuild --bundle src/index.ts --format=esm --outfile=dist/_worker.js --platform=node", "deploy:pages": "wrangler pages publish dist", "deploy:worker": "wrangler deploy --minify src/index.ts" },