import type { NextConfig } from "next"; const nextConfig: NextConfig = { // Smaller production runtime: deploy copies .next/standalone and drops node_modules. output: "standalone", async rewrites() { return [ { source: "/webcatalogue", destination: "/files/Havaran-Web-Catalogue.pdf", }, { source: "/resume", destination: "/files/Havaran-Resume.pdf", }, ]; }, images: { remotePatterns: [ { protocol: "https", hostname: "meshkee-storage.sas.amin.parminstorage.ir", }, { protocol: "https", hostname: "cdn.willaspace.com" }, { protocol: "https", hostname: "cdn.meshkee.com" }, { protocol: "https", hostname: "c804387.parspack.net" }, ], }, }; export default nextConfig;