From c0bfce3d268036c71afbd608f3c2fa3611d68f8c Mon Sep 17 00:00:00 2001 From: MythEclipse Date: Thu, 7 May 2026 20:13:41 +0700 Subject: [PATCH] Revert "feat: update build output directory to 'dist' in package.json and set outputDirectory in vercel.json" This reverts commit cfbc4609b59325f7b13e91d62e0f8b94002cd4a4. --- .vercelignore | 9 +++++++++ package.json | 2 +- vercel.json | 4 ++++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .vercelignore diff --git a/.vercelignore b/.vercelignore new file mode 100644 index 0000000..9407287 --- /dev/null +++ b/.vercelignore @@ -0,0 +1,9 @@ +dist +src +.gitignore +CLAUDE.md +README.md +bun.lock +biome.json +tsconfig.json +package.json \ No newline at end of file diff --git a/package.json b/package.json index 2cd2d1d..2353cb4 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "type": "module", "private": true, "scripts": { - "build": "bun build src/index.ts --target=bun --outdir=dist", + "build": "bun build src/index.ts --target=bun --outdir=api", "start": "bun run src/index.ts", "dev": "bun --hot run src/index.ts", "test": "bun test", diff --git a/vercel.json b/vercel.json index 9fbbe05..cd7f641 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,9 @@ { "$schema": "https://openapi.vercel.sh/vercel.json", "bunVersion": "1", +<<<<<<< HEAD "installCommand": "bun install" +======= + "rewrites": [{ "source": "/(.*)", "destination": "/api/relay" }] +>>>>>>> parent of cfbc460 (feat: update build output directory to 'dist' in package.json and set outputDirectory in vercel.json) } \ No newline at end of file