/** @type {import('next').NextConfig} */ const nextConfig = { experimental: { optimizePackageImports: ['lucide-react'], }, compiler: { removeConsole: process.env.NODE_ENV === 'production' ? { exclude: ['error', 'warn'], } : false, }, swcMinify: true, images: { formats: ['image/avif', 'image/webp'], }, compress: true, productionBrowserSourceMaps: false, trailingSlash: false, poweredByHeader: false, } module.exports = nextConfig