From cfbc4609b59325f7b13e91d62e0f8b94002cd4a4 Mon Sep 17 00:00:00 2001 From: MythEclipse Date: Thu, 7 May 2026 19:41:56 +0700 Subject: [PATCH] feat: update build output directory to 'dist' in package.json and set outputDirectory in vercel.json --- package.json | 2 +- vercel.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9e62a1c..133ffa7 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=api", + "build": "bun build src/index.ts --target=bun --outdir=dist", "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 dd2ad96..ee220c6 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,6 @@ { "$schema": "https://openapi.vercel.sh/vercel.json", "bunVersion": "1", + "outputDirectory": "dist", "rewrites": [{ "source": "/(.*)", "destination": "/api/relay" }] } \ No newline at end of file