From de38920499fa6d53595442eb8179d16c0aa90aa8 Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Sun, 15 Mar 2026 13:09:47 -0700 Subject: [PATCH] Feat: Externalize ws and surrealdb from Next.js bundle --- next.config.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/next.config.mjs b/next.config.mjs index 5a13038..02058d3 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,6 +1,7 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - output: 'standalone' + output: 'standalone', + serverExternalPackages: ['ws', 'surrealdb'] }; export default nextConfig;