free.technology/next.config.js
2023-11-14 22:38:31 +09:00

22 lines
461 B
JavaScript

import createMDX from '@next/mdx'
import remarkGfm from 'remark-gfm'
const withMDX = createMDX({
// Add markdown plugins here, as desired
options: {
remarkPlugins: [remarkGfm],
rehypePlugins: [],
},
})
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
images: {
domains: ['avatars.githubusercontent.com'],
},
}
export default withMDX(nextConfig)