RESTfulMC/Frontend/next.config.mjs

26 lines
471 B
JavaScript
Raw Normal View History

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