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 <noreply@anthropic.com>
10 lines
197 B
JavaScript
10 lines
197 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: "standalone",
|
|
experimental: {
|
|
serverComponentsExternalPackages: ["pg", "ioredis"],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|