mirror of
https://gitlab.com/foxixus/neomovies.git
synced 2025-10-28 01:48:50 +05:00
39 lines
765 B
JavaScript
39 lines
765 B
JavaScript
|
|
/** @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;
|