chore: configure next.config for Elysia server compatibility

This commit is contained in:
2026-04-25 12:59:58 +08:00
parent 7560eac127
commit 4ac1a4b243
+2 -1
View File
@@ -1,7 +1,8 @@
import type { NextConfig } from "next"; import type { NextConfig } from "next";
const nextConfig: NextConfig = { 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; export default nextConfig;