Files
asepharyana-hub-hub/next.config.ts
T

21 lines
546 B
TypeScript
Raw Normal View History

2026-07-23 06:24:10 +07:00
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
reactCompiler: true,
turbopack: {
root: process.cwd(),
},
// Nix store is read-only at runtime; Next.js tries to mkdir
// <distDir>/cache/images for the on-disk image optimizer LRU and
// crashes with EACCES unhandledRejection on every optimized image
// request. Disable the disk cache (and disable ISR flush which gates it).
images: {
maximumDiskCacheSize: 0,
},
experimental: {
isrFlushToDisk: false,
},
2026-07-23 06:24:10 +07:00
};
export default nextConfig;