/** @type {import('next').NextConfig} */
const nextConfig = {
    reactStrictMode: true,
    images: {
        remotePatterns: [
            {
                protocol: 'https',
                hostname: '**.supabase.co',
            },
            {
                protocol: 'https',
                hostname: 'api.unsalcelikparakasalari.com',
            },
        ],
    },
    webpack: (config) => {
        // Suppress cache serialization warnings
        config.infrastructureLogging = {
            level: 'error',
        };
        return config;
    },
};

export default nextConfig;
