import { createMDX } from 'fumadocs-mdx/next'; const withMDX = createMDX(); /** @type {import('next').NextConfig} */ const config = { reactStrictMode: true, async rewrites() { return [ { source: '/home/:path*.mdx', destination: '/llms.mdx/:path*', }, ]; }, images: { dangerouslyAllowSVG: true, remotePatterns: [ { protocol: 'https', hostname: 'img.shields.io', }, { protocol: 'https', hostname: 'starchart.cc', }, { protocol: 'https', hostname: 'github.com', }, ], }, }; export default withMDX(config);