d7d87d5760
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
27 lines
662 B
JavaScript
27 lines
662 B
JavaScript
import createMDX from '@next/mdx';
|
|
import path from 'path';
|
|
import { fileURLToPath } from 'url';
|
|
|
|
const nextConfig = {
|
|
pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'],
|
|
output: 'export',
|
|
assetPrefix: '/',
|
|
distDir: 'dist',
|
|
images: {
|
|
unoptimized: true,
|
|
},
|
|
typescript: {
|
|
// Ignore TypeScript errors during build - safe for React 18/19 compatibility issues
|
|
// These are type-level conflicts that don't affect runtime behavior
|
|
ignoreBuildErrors: true,
|
|
},
|
|
outputFileTracingRoot: path.join(
|
|
path.dirname(fileURLToPath(import.meta.url)),
|
|
'..',
|
|
),
|
|
};
|
|
|
|
const withMDX = createMDX({});
|
|
|
|
export default withMDX(nextConfig);
|