From 4ac1a4b243a528d7e51051307054e83364d30281 Mon Sep 17 00:00:00 2001 From: Adrian Bonpin Date: Sat, 25 Apr 2026 12:54:56 +0800 Subject: [PATCH] chore: configure next.config for Elysia server compatibility --- next.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/next.config.ts b/next.config.ts index e9ffa30..0b95cc2 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,7 +1,8 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { - /* config options here */ + // Elysia is Bun-native and must not be bundled by Next.js + serverExternalPackages: ["elysia", "@elysiajs/eden"], }; export default nextConfig;