perf: optimize PageSpeed Insights performance
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 7s
Build & Deploy / 🧪 QA (push) Successful in 1m26s
Build & Deploy / 🏗️ Build (push) Successful in 4m17s
Build & Deploy / 🚀 Deploy (push) Successful in 26s
Build & Deploy / 🧪 Smoke Test (push) Successful in 52s
Build & Deploy / ⚡ Lighthouse (push) Successful in 3m41s
Build & Deploy / 🔔 Notify (push) Successful in 2s

- Suppress browser source map references to fix 404/SyntaxErrors
- Reduce legacy JS polyfills via browserslist config
- Optimize LCP by refining Hero animations and image sizes
- Implement video lazy loading and reduce SVG animation complexity
- Add preconnect hints for critical origins
This commit is contained in:
2026-02-19 23:21:01 +01:00
parent f1d49416d1
commit 474fa4f3df
7 changed files with 40 additions and 21 deletions

View File

@@ -8,6 +8,7 @@ const nextConfig = {
// Make sure entries are not disposed too quickly
maxInactiveAge: 60 * 1000,
},
productionBrowserSourceMaps: false,
logging: {
fetches: {
fullUrl: true,
@@ -353,4 +354,6 @@ const nextConfig = {
},
};
export default withMintelConfig(nextConfig);
export default withMintelConfig(nextConfig, {
hideSourceMaps: true,
});