22 lines
459 B
TypeScript
22 lines
459 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,
|
|
output: "standalone",
|
|
experimental: {
|
|
serverActions: {
|
|
bodySizeLimit: "5mb",
|
|
},
|
|
},
|
|
turbopack: {
|
|
root: process.cwd(),
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|