-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.js
More file actions
38 lines (32 loc) · 940 Bytes
/
next.config.js
File metadata and controls
38 lines (32 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: false, // Disable strict mode to reduce hydration warnings in dev
// Optimize images - using remotePatterns instead of deprecated domains
images: {
unoptimized: true,
remotePatterns: [
{
protocol: 'https',
hostname: 'traboda.com',
},
{
protocol: 'https',
hostname: 'app.traboda.com',
},
],
},
// Enable Emotion compiler for better performance
compiler: {
emotion: true,
},
cacheComponents: true,
async redirects() {
return [
// Temporarily disabled pages — remove these entries to re-enable
{ source: '/organizers', destination: '/404', permanent: false },
{ source: '/advisory-board', destination: '/404', permanent: false },
{ source: '/sponsors', destination: '/404', permanent: false },
];
},
};
module.exports = nextConfig;