next.config.mjs

next.config.mjs
/** @type {import('next').NextConfig} */
const nextConfig = {
trailingSlash: true,
// Configure `pageExtensions` to include TSX files
pageExtensions: ['js', 'jsx', 'ts', 'tsx'],
// Enable experimental global not-found page
experimental: {
globalNotFound: true,
},
// Optionally, add any other Next.js config below
images: {
// Image optimization for local images
formats: ['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

Support

Talk to the developers of this project to learn more

We have been building professional websites for big clients for over 15 years. Gallop templates and blocks is our best foundation for SEO websites and web apps.

© 2026 Web Plant Media, LLC