From 17620482dae941b734b080d7776ceb8f118188a5 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sat, 27 Jun 2026 21:34:34 +0200 Subject: [PATCH] build: ruthlessly strip core-js polyfills to fix Lighthouse Legacy JS audit --- next.config.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/next.config.mjs b/next.config.mjs index 0116d4c2d..999ead2dc 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -24,7 +24,6 @@ const nextConfig = { 'lucide-react', 'framer-motion', '@/components/ui', - '@sentry/nextjs', 'react-hook-form', 'zod', 'date-fns', @@ -55,6 +54,8 @@ const nextConfig = { ...config.resolve.alias, 'next/dist/build/polyfills/polyfill-module': false, 'next/dist/build/polyfills/polyfill-nomodule': false, + 'core-js': false, + 'regenerator-runtime': false, }; }