cooking/next.config.ts
2026-02-08 23:51:57 -08:00

32 lines
601 B
TypeScript

import type { NextConfig } from "next";
import createMDX from '@next/mdx';
const nextConfig: NextConfig = {
reactStrictMode: true,
pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'],
images: {
remotePatterns: [
{
protocol: 'http',
hostname: 'localhost',
pathname: '/api/recipe-image**',
},
],
localPatterns: [
{
pathname: '/api/recipe-image**',
},
],
},
};
const withMDX = createMDX({
extension: /\.mdx?$/,
options: {
remarkPlugins: [],
rehypePlugins: [],
},
});
export default withMDX(nextConfig);