This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

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