psc.logos.co/next.config.js

27 lines
543 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 = {
output: 'export',
trailingSlash: true,
images: {
unoptimized: true,
},
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
images: {
domains: ['avatars.githubusercontent.com', 'source.unsplash.com'],
},
}
export default withMDX(nextConfig)