import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: "standalone", images: { remotePatterns: [ { protocol: "http", hostname: "**", }, { protocol: "https", hostname: "**", }, ], }, serverExternalPackages: ["sharp", "pdf2pic", "chokidar", "pg", "imapflow", "mailparser"], }; export default nextConfig;