import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: "export", // for static export trailingSlash: true, images: { unoptimized: true, // required for static export remotePatterns: [ { protocol: "https", hostname: "images.unsplash.com", }, { protocol: "https", hostname: "www.transparenttextures.com", }, { protocol: "https", hostname: "png.pngtree.com", }, { protocol: "https", hostname: "purepng.com", }, { protocol: "https", hostname: "cdn-icons-png.flaticon.com", }, { protocol: "https", hostname: "images.pexels.com", }, { protocol: "https", hostname: "randomuser.me", }, ], }, }; export default nextConfig;