/** @type {import('next').Config} */ const nextConfig = { productionBrowserSourceMaps: false, transpilePackages: ['@supabase/auth-helpers-nextjs'], webpack: (config, { isServer, dev }) => { if (isServer && !dev) { config.devtool = false; } return config; }, }; export default nextConfig;