15 lines
348 B
TypeScript
15 lines
348 B
TypeScript
import createMDX from "@next/mdx";
|
|
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
pageExtensions: ["js", "jsx", "md", "mdx", "ts", "tsx"],
|
|
};
|
|
|
|
const withMDX = createMDX({
|
|
// Add markdown plugins here, as desired
|
|
});
|
|
|
|
// Merge MDX config with Next.js config
|
|
export default withMDX(nextConfig);
|