next.config.mjs/** @type {import('next').NextConfig} */const nextConfig = {trailingSlash: true,// Configure `pageExtensions` to include TSX filespageExtensions: ['js', 'jsx', 'ts', 'tsx'],// Enable experimental global not-found pageexperimental: {globalNotFound: true,},// Optionally, add any other Next.js config belowimages: {// Image optimization for local imagesformats: ['image/webp', 'image/avif'],deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],},async redirects() {return []},}
Showing the first 20 lines.
Get full code