2024-04-20 01:33:33 -04:00
|
|
|
import createMDX from '@next/mdx'
|
|
|
|
|
2024-04-15 16:16:08 -04:00
|
|
|
/** @type {import('next').NextConfig} */
|
2024-04-16 18:27:56 -04:00
|
|
|
const nextConfig = {
|
2024-04-20 01:33:33 -04:00
|
|
|
pageExtensions: ["ts", "tsx", "js", "jsx", "md", "mdx"],
|
2024-04-16 18:27:56 -04:00
|
|
|
images: {
|
|
|
|
remotePatterns: [
|
|
|
|
{
|
|
|
|
protocol: "https",
|
2024-04-16 20:52:59 -04:00
|
|
|
hostname: "api.restfulmc.cc",
|
2024-04-16 18:27:56 -04:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2024-04-20 01:33:33 -04:00
|
|
|
experimental: {
|
|
|
|
mdxRs: true,
|
|
|
|
},
|
2024-04-16 18:27:56 -04:00
|
|
|
};
|
2024-04-15 16:16:08 -04:00
|
|
|
|
2024-04-20 01:33:33 -04:00
|
|
|
const withMDX = createMDX({})
|
|
|
|
|
|
|
|
// Merge MDX config with Next.js config
|
|
|
|
export default withMDX(nextConfig)
|