mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-02 22:17:11 +01:00
clean next.config.mjs
This commit is contained in:
@@ -1,29 +1,15 @@
|
|||||||
import { withAxiom } from 'next-axiom'
|
|
||||||
import createMDX from '@next/mdx'
|
import createMDX from '@next/mdx'
|
||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
// Configure `pageExtensions`` to include MDX files
|
|
||||||
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
|
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
|
||||||
// Optionally, add any other Next.js config below
|
|
||||||
async redirects() {
|
|
||||||
return [
|
|
||||||
// {
|
|
||||||
// source: '/admin',
|
|
||||||
// destination: '/nope',
|
|
||||||
// permanent: true,
|
|
||||||
// },
|
|
||||||
]
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const withMDX = createMDX({
|
const withMDX = createMDX({
|
||||||
// Add markdown plugins here, as desired
|
|
||||||
options: {
|
options: {
|
||||||
remarkPlugins: [],
|
remarkPlugins: [],
|
||||||
rehypePlugins: [],
|
rehypePlugins: [],
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
// Merge MDX config with Next.js config
|
|
||||||
export default withMDX(nextConfig)
|
export default withMDX(nextConfig)
|
||||||
|
|||||||
Reference in New Issue
Block a user