import type { NextConfig } from "next"; const nextConfig: NextConfig = { transpilePackages: ["@mdxeditor/editor"], output: "standalone", compiler: { removeConsole: process.env.NODE_ENV === "production", }, images: { remotePatterns: [ { protocol: "https", hostname: "img.youtube.com" }, { protocol: "https", hostname: "avatar.vercel.sh" }, { protocol: "http", hostname: "localhost" }, { protocol: "https", hostname: "latosa.cems.dev" }, ], }, }; export default nextConfig;