portfolio/next.config.mjs
r-freeman 0aad4b9459
Some checks failed
Build And Publish / BuildAndPublish (push) Failing after 1m2s
Dockerisation
2024-08-23 17:28:52 +01:00

27 lines
592 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: {
remotePatterns: [{
protocol: 'https',
hostname: 'i.scdn.co',
port: ''
}]
},
output: 'standalone'
}
const withMDX = nextMDX({
extension: /\.mdx?$/,
options: {
remarkPlugins: [remarkGfm],
rehypePlugins: [rehypePrism],
}
})
export default withMDX(nextConfig)