From ebc4140fbad399387346dc95baa1ed9d3d9631f8 Mon Sep 17 00:00:00 2001 From: aahnik Date: Wed, 7 May 2025 10:09:56 +0530 Subject: [PATCH] Tweak next.config.js for max smoothness in deployment --- next.config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/next.config.js b/next.config.js index 4f9eb4d..a303f08 100644 --- a/next.config.js +++ b/next.config.js @@ -19,6 +19,14 @@ const nextConfig = { images: { domains: ['images.unsplash.com', 'assets.aceternity.com'], }, + // Add performance optimizations + swcMinify: true, + poweredByHeader: false, + compress: true, + reactStrictMode: true, + compiler: { + removeConsole: process.env.NODE_ENV === 'production', + }, } module.exports = nextConfig