tasko/next.config.ts

29 lines
608 B
TypeScript
Raw Normal View History

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