Files
cecilia/next.config.ts
tuna2134 f5d237ae17 ok
2025-05-03 13:44:06 +00:00

23 lines
494 B
TypeScript

import type { NextConfig } from "next";
import createMDX from "@next/mdx";
const nextConfig: NextConfig = {
images: {
remotePatterns: [
{
protocol: "https",
hostname: "cdn.discordapp.com",
},
],
},
pageExtensions: ["js", "jsx", "md", "mdx", "ts", "tsx"],
};
if (process.env.OUTPUT === "standalone") {
nextConfig.output = "standalone";
}
const withMDX = createMDX();
export default withMDX(nextConfig);