2024-10-15 19:55:03 -04:00
|
|
|
import type { NextConfig } from 'next';
|
|
|
|
|
2024-11-17 16:28:51 -05:00
|
|
|
import { withContentCollections } from '@content-collections/next';
|
|
|
|
import createMDX from '@next/mdx';
|
|
|
|
|
2024-10-15 19:55:03 -04:00
|
|
|
const nextConfig: NextConfig = {
|
2024-05-28 18:31:40 -04:00
|
|
|
experimental: {
|
|
|
|
reactCompiler: true,
|
2024-11-17 16:28:51 -05:00
|
|
|
mdxRs: true,
|
2024-05-28 18:31:40 -04:00
|
|
|
},
|
2024-02-14 21:30:10 -05:00
|
|
|
images: {
|
|
|
|
remotePatterns: [
|
|
|
|
{
|
2024-02-15 20:49:19 -05:00
|
|
|
protocol: 'https',
|
|
|
|
hostname: 'img.clerk.com',
|
2024-02-14 21:30:10 -05:00
|
|
|
},
|
|
|
|
{
|
2024-02-15 20:49:19 -05:00
|
|
|
protocol: 'https',
|
|
|
|
hostname: 'images.unsplash.com',
|
2024-02-14 21:30:10 -05:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2024-11-17 16:28:51 -05:00
|
|
|
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
|
2024-02-14 21:30:10 -05:00
|
|
|
};
|
|
|
|
|
2024-11-17 16:28:51 -05:00
|
|
|
const withMDX = createMDX({});
|
|
|
|
|
|
|
|
export default withContentCollections(withMDX(nextConfig));
|