import type { NextConfig } from "next"; import { resolve } from "node:path"; const nextConfig: NextConfig = { cacheComponents: true, cacheHandlers: { remote: resolve(process.cwd(), "cache-handlers/redis-handler.cjs"), }, deploymentId: process.env.NEXT_DEPLOYMENT_ID, output: "standalone", images: { remotePatterns: [ { protocol: "https", hostname: "buzz-cdn.astrxl.dev", pathname: "/**" }, ], }, experimental: { serverActions: { bodySizeLimit: "5mb", }, }, turbopack: { root: process.cwd(), }, }; export default nextConfig;