chore: configure next.config for Elysia server compatibility
This commit is contained in:
+2
-1
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user