mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-24 22:15:41 +00:00
r-freeman
56093b2629
Some checks failed
Build And Publish / BuildAndPublish (push) Failing after 1m56s
28 lines
662 B
JavaScript
28 lines
662 B
JavaScript
import nextMDX from '@next/mdx'
|
|
import remarkGfm from 'remark-gfm'
|
|
import rehypePrism from '@mapbox/rehype-prism'
|
|
import {remarkMermaid} from '@theguild/remark-mermaid'
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
pageExtensions: ['jsx', 'js', 'tsx', 'ts', 'mdx'],
|
|
images: {
|
|
remotePatterns: [{
|
|
protocol: 'https',
|
|
hostname: 'i.scdn.co',
|
|
port: ''
|
|
}]
|
|
},
|
|
output: 'standalone'
|
|
}
|
|
|
|
const withMDX = nextMDX({
|
|
extension: /\.mdx?$/,
|
|
options: {
|
|
remarkPlugins: [remarkGfm, remarkMermaid],
|
|
rehypePlugins: [rehypePrism],
|
|
}
|
|
})
|
|
|
|
export default withMDX(nextConfig)
|