Files
thrilltrack-explorer/next.config.mjs

26 lines
522 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
// Image optimization for CloudFlare
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'imagedelivery.net',
},
{
protocol: 'https',
hostname: 'cdn.thrillwiki.com',
pathname: '/images/**',
},
],
formats: ['image/avif', 'image/webp'],
},
// Production optimizations
compress: true,
poweredByHeader: false,
reactStrictMode: true,
};
export default nextConfig;