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