Files
SkillCompiler/data/skills-bench/website/next.config.ts
T
2026-09-04 14:58:42 +08:00

33 lines
739 BLFS
TypeScript

import { createMDX } from 'fumadocs-mdx/next';
import path from "node:path";
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
reactStrictMode: true,
turbopack: {
root: path.resolve(__dirname),
},
images: {
remotePatterns: [
{
protocol: "https",
hostname: "avatars.githubusercontent.com",
},
{
// Handle-based avatars: https://github.com/<login>.png
protocol: "https",
hostname: "github.com",
},
{
// Dawn Song has no GitHub account — avatar served from her homepage.
protocol: "https",
hostname: "dawnsong.io",
},
],
},
};
const withMDX = createMDX();
export default withMDX(nextConfig);