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