Files
buzz-sheet/next.config.ts
T
2026-08-30 23:48:03 +07:00

28 lines
617 B
TypeScript

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,
allowedDevOrigins: ["astral"],
output: "standalone",
images: {
remotePatterns: [
{ protocol: "https", hostname: "buzz-cdn.astrxl.dev", pathname: "/**" },
],
},
experimental: {
serverActions: {
bodySizeLimit: "5mb",
},
},
turbopack: {
root: process.cwd(),
},
};
export default nextConfig;