This commit is contained in:
tuna2134
2025-05-03 13:44:06 +00:00
parent 16ef79f6c9
commit f5d237ae17
10 changed files with 1169 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
import type { NextConfig } from "next";
import createMDX from "@next/mdx";
const nextConfig: NextConfig = {
images: {
@@ -9,10 +10,13 @@ const nextConfig: NextConfig = {
},
],
},
pageExtensions: ["js", "jsx", "md", "mdx", "ts", "tsx"],
};
if (process.env.OUTPUT === "standalone") {
nextConfig.output = "standalone";
}
export default nextConfig;
const withMDX = createMDX();
export default withMDX(nextConfig);