mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-13 16:35:41 +00:00
22 lines
472 B
JavaScript
22 lines
472 B
JavaScript
import nextMDX from '@next/mdx'
|
|
import remarkGfm from 'remark-gfm'
|
|
import rehypePrism from '@mapbox/rehype-prism'
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
pageExtensions: ['jsx', 'js', 'tsx', 'ts', 'mdx'],
|
|
images: {
|
|
domains: ['i.scdn.co']
|
|
}
|
|
}
|
|
|
|
const withMDX = nextMDX({
|
|
extension: /\.mdx?$/,
|
|
options: {
|
|
remarkPlugins: [remarkGfm],
|
|
rehypePlugins: [rehypePrism],
|
|
}
|
|
})
|
|
|
|
export default withMDX(nextConfig)
|