From 5ffb8a190ff31fc3945bfa33842870d5e5281dce Mon Sep 17 00:00:00 2001 From: AJ Avezzano Date: Wed, 1 Apr 2026 11:24:01 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20rename=20next.config.ts=20=E2=86=92=20ne?= =?UTF-8?q?xt.config.mjs=20for=20Next.js=2014=20compatibility?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit next.config.ts is only supported in Next.js 15+. Next.js 14 requires .js or .mjs. Also switched serverExternalPackages to the Next.js 14 experimental.serverComponentsExternalPackages key. Co-Authored-By: Claude Sonnet 4.6 --- next.config.mjs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 next.config.mjs diff --git a/next.config.mjs b/next.config.mjs new file mode 100644 index 0000000..c5eddf4 --- /dev/null +++ b/next.config.mjs @@ -0,0 +1,9 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + output: "standalone", + experimental: { + serverComponentsExternalPackages: ["pg", "ioredis"], + }, +}; + +export default nextConfig;