import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  images: {
    formats: ["image/avif", "image/webp"],
    // Every quality value used across the page. Required from Next.js 16 on.
    qualities: [70, 72, 75, 80, 82, 88, 90],
    // Portfolio media served live from the meshkee API.
    remotePatterns: [
      { protocol: "https", hostname: "meshkee-storage.sas.amin.parminstorage.ir" },
      { protocol: "https", hostname: "cdn.meshkee.com" },
    ],
  },
};

export default nextConfig;
