import { createMDX } from "fumadocs-mdx/next"; import type { NextConfig } from "next"; import createNextIntlPlugin from "next-intl/plugin"; // Create the next-intl plugin const withNextIntl = createNextIntlPlugin("./i18n/request.ts"); const nextConfig: NextConfig = { output: "standalone", typescript: { ignoreBuildErrors: true, }, eslint: { ignoreDuringBuilds: true, }, images: { remotePatterns: [ { protocol: "https", hostname: "**", }, ], }, }; // Wrap the config with MDX and next-intl plugins const withMDX = createMDX({}); export default withNextIntl(withMDX(nextConfig));