import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  experimental: {
    webVitalsAttribution: ['CLS', 'LCP']
  },
  compiler: {
    styledComponents: true,
  },
  images: {
    minimumCacheTTL: 816400,
    formats: ['image/webp','image/avif'],
    remotePatterns: [
      {
        protocol: 'http',
        hostname: 'localhost:3000',
        port: '3000'
      },
      {
        protocol: 'http',
        hostname: 'arkaa-frontend-next15.test',
        port: '3000'
      },
      {
        protocol: 'https',
        hostname: 'imagedelivery.net',
      },
      {
        protocol: 'https',
        hostname: 'i.imgur.com',
      },
      {
        protocol: 'https',
        hostname: 'iplacehold.co',
      },
      {
        protocol: 'https',
        hostname: 'fonts.googleapis.com'
      }
    ],
  },
};

export default nextConfig;
