27 lines
650 B
JavaScript
27 lines
650 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
// Page extensions for MDX support
|
|
pageExtensions: ["js", "jsx", "ts", "tsx", "mdx"],
|
|
|
|
// Suppress hydration warnings globally
|
|
reactStrictMode: false,
|
|
|
|
// Image optimization
|
|
images: {
|
|
remotePatterns: [
|
|
{ protocol: 'https', hostname: 'i.pravatar.cc' },
|
|
{ protocol: 'https', hostname: 'images.unsplash.com' },
|
|
{ protocol: 'https', hostname: '*.supabase.co' }
|
|
]
|
|
},
|
|
|
|
// TypeScript and ESLint configuration for build stability
|
|
typescript: {
|
|
ignoreBuildErrors: true
|
|
},
|
|
eslint: {
|
|
ignoreDuringBuilds: true
|
|
}
|
|
};
|
|
|
|
export default nextConfig; |