Files
vercel__components.build/next.config.ts
Hayden Bleasel 55fae375a4 Update docs, internationalization (#35)
* Update Geistdocs

* Update geistdocs.tsx

* Run translation script

* Delete toc.tsx

* Update route.ts

* Update route.ts
2025-12-04 23:57:35 -08:00

38 lines
664 B
TypeScript

import { createMDX } from "fumadocs-mdx/next";
import type { NextConfig } from "next";
const withMDX = createMDX();
const config: NextConfig = {
reactStrictMode: true,
experimental: {
turbopackFileSystemCacheForDev: true,
},
async rewrites() {
return [
{
source: "/:path*.mdx",
destination: "/llms.mdx/:path*",
},
{
source: "/:path*.md",
destination: "/llms.mdx/:path*",
},
];
},
images: {
formats: ["image/avif", "image/webp"],
remotePatterns: [
{
protocol: "https",
hostname: "github.com",
},
],
},
};
export default withMDX(config);