This repository has no description
1import createMDX from '@next/mdx';
2
3/** @type {import('next').NextConfig} */
4const nextConfig = {
5 reactStrictMode: false,
6 // Configure `pageExtensions` to include markdown and MDX files
7 pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'],
8 allowedDevOrigins: ['127.0.0.1'],
9 experimental: {
10 optimizePackageImports: [
11 '@mantine/core',
12 '@mantine/hooks',
13 'react-icons',
14 'react-icons/md',
15 'react-icons/fi',
16 'react-icons/fa6',
17 'react-icons/bi',
18 'react-icons/lu',
19 'react-icons/tb',
20 'react-icons/io5',
21 ],
22 },
23};
24
25const withMDX = createMDX({
26 // Add markdown plugins here, as desired
27});
28
29// Merge MDX config with Next.js config
30export default withMDX(nextConfig);