next.config.mjs•563 B
import { createMDX } from "fumadocs-mdx/next";
const withMDX = createMDX();
/** @type {import('next').NextConfig} */
const config = {
reactStrictMode: true,
output: "standalone",
pageExtensions: ["js", "jsx", "md", "mdx", "ts", "tsx"],
images: { unoptimized: true },
experimental: {
viewTransition: true,
},
typescript: {
ignoreBuildErrors: true,
},
eslint: {
ignoreDuringBuilds: true,
},
serverExternalPackages: [
"ts-morph",
"typescript",
"oxc-transform",
"twoslash",
],
};
export default withMDX(config);