2023-10-19 01:08:20 +09:00
|
|
|
import createMDX from '@next/mdx'
|
2023-11-14 22:38:31 +09:00
|
|
|
import remarkGfm from 'remark-gfm'
|
2023-10-19 01:08:20 +09:00
|
|
|
|
|
|
|
const withMDX = createMDX({
|
|
|
|
// Add markdown plugins here, as desired
|
|
|
|
options: {
|
|
|
|
remarkPlugins: [remarkGfm],
|
|
|
|
rehypePlugins: [],
|
|
|
|
},
|
|
|
|
})
|
2023-10-18 00:12:25 +09:00
|
|
|
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
|
const nextConfig = {
|
|
|
|
reactStrictMode: true,
|
|
|
|
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
|
2023-11-14 22:38:31 +09:00
|
|
|
images: {
|
|
|
|
domains: ['avatars.githubusercontent.com'],
|
|
|
|
},
|
2023-10-18 00:12:25 +09:00
|
|
|
}
|
2023-10-19 01:08:20 +09:00
|
|
|
|
|
|
|
export default withMDX(nextConfig)
|