From 6e98cfba374b10407404737889b7e0f8ae6bd389 Mon Sep 17 00:00:00 2001 From: devops Date: Fri, 24 Jul 2026 04:17:37 +0000 Subject: [PATCH] Update workloads/ecommerce/next.config.ts --- workloads/ecommerce/next.config.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/workloads/ecommerce/next.config.ts b/workloads/ecommerce/next.config.ts index f73bea7..9e45d01 100644 --- a/workloads/ecommerce/next.config.ts +++ b/workloads/ecommerce/next.config.ts @@ -8,10 +8,10 @@ const nextConfig: NextConfig = { images: { formats: ["image/avif", "image/webp"], minimumCacheTTL: 604800, + deviceSizes: [360, 640, 768, 1024, 1280, 1536], + imageSizes: [64, 96, 160, 256, 384, 560], }, - experimental: { - optimizePackageImports: ["lucide-react", "motion"], - }, + async headers() { return [ { @@ -19,7 +19,8 @@ const nextConfig: NextConfig = { headers: [ { key: "Cache-Control", - value: "public, max-age=604800, stale-while-revalidate=2592000", + value: + "public, max-age=604800, stale-while-revalidate=2592000", }, ], }, @@ -27,4 +28,4 @@ const nextConfig: NextConfig = { }, }; -export default nextConfig; +export default nextConfig; \ No newline at end of file