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