From 2ffaddb43a663fefde14fdc2f0c57caa21a82ccc Mon Sep 17 00:00:00 2001 From: Jeremy Holstein Date: Wed, 19 Jun 2024 14:05:39 -0400 Subject: [PATCH] externals --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2a77864..50391db 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 --platform=node", + "build": "esbuild src/index.ts --bundle --platform=node --format=esm --outfile=dist/_worker.js --external:better-sqlite3 --external:tedious --external:mysql --external:mysql2 --external:oracledb --external:pg --external:sqlite3 --external:pg-query-stream", "deploy:pages": "wrangler pages publish dist", "deploy:worker": "wrangler deploy --minify src/index.ts" },