mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 09:03:36 +00:00
28 lines
608 B
TypeScript
28 lines
608 B
TypeScript
import type { NextConfig } from 'next';
|
|
|
|
import { withContentCollections } from '@content-collections/next';
|
|
import createMDX from '@next/mdx';
|
|
|
|
const nextConfig: NextConfig = {
|
|
experimental: {
|
|
reactCompiler: true,
|
|
mdxRs: true,
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'img.clerk.com',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'images.unsplash.com',
|
|
},
|
|
],
|
|
},
|
|
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
|
|
};
|
|
|
|
const withMDX = createMDX({});
|
|
|
|
export default withContentCollections(withMDX(nextConfig));
|