Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 11s
Build & Deploy / 🧪 QA (push) Failing after 32s
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
16 lines
425 B
TypeScript
16 lines
425 B
TypeScript
import type { NextConfig } from "next";
|
|
import createMDX from "@next/mdx";
|
|
import { withPayload } from "@payloadcms/next/withPayload";
|
|
|
|
const nextConfig: NextConfig = {
|
|
/* config options here */
|
|
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 withPayload(withMDX(nextConfig));
|