/** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, compiler: { styledComponents: true, }, devIndicators: { appIsrStatus: false, buildActivity: false, buildActivityPosition: 'bottom-right', }, env: { MONGODB_URI: process.env.MONGODB_URI, JWT_SECRET: process.env.JWT_SECRET, RESEND_API_KEY: process.env.RESEND_API_KEY, }, images: { remotePatterns: [ { protocol: 'https', hostname: 'image.tmdb.org', pathname: '/**', }, ], }, onDemandEntries: { maxInactiveAge: 25 * 1000, pagesBufferLength: 2, }, typescript: { ignoreBuildErrors: true, }, experimental: { scrollRestoration: true, }, }; module.exports = nextConfig;