mirror of
https://github.com/runyanjake/cooking.git
synced 2026-03-26 09:53:17 -07:00
32 lines
601 B
TypeScript
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);
|