websites/next.config.mjs

23 lines
622 B
JavaScript
Raw Normal View History

2024-05-06 22:35:25 +02:00
import createMDX from '@next/mdx'
2024-03-07 11:27:32 +01:00
/** @type {import('next').NextConfig} */
2024-05-06 22:35:25 +02:00
const nextConfig = {
output: 'export',
pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'],
// Optional: Change links `/me` -> `/me/` and emit `/me.html` -> `/me/index.html`
// trailingSlash: true,
// Optional: Prevent automatic `/me` -> `/me/`, instead preserve `href`
// skipTrailingSlashRedirect: true,
// Optional: Change the output directory `out` -> `dist`
// distDir: 'dist',
};
const withMDX = createMDX({
// Add markdown plugins here, as desired
})
2024-03-07 11:27:32 +01:00
2024-05-06 22:35:25 +02:00
export default withMDX(nextConfig);