Update workloads/ecommerce/next.config.ts
Build and Push Frontend / build (push) Canceled after 0s

This commit is contained in:
2026-07-24 04:17:37 +00:00
parent dc9827e353
commit 6e98cfba37
+5 -4
View File
@@ -8,10 +8,10 @@ const nextConfig: NextConfig = {
images: { images: {
formats: ["image/avif", "image/webp"], formats: ["image/avif", "image/webp"],
minimumCacheTTL: 604800, minimumCacheTTL: 604800,
deviceSizes: [360, 640, 768, 1024, 1280, 1536],
imageSizes: [64, 96, 160, 256, 384, 560],
}, },
experimental: {
optimizePackageImports: ["lucide-react", "motion"],
},
async headers() { async headers() {
return [ return [
{ {
@@ -19,7 +19,8 @@ const nextConfig: NextConfig = {
headers: [ headers: [
{ {
key: "Cache-Control", key: "Cache-Control",
value: "public, max-age=604800, stale-while-revalidate=2592000", value:
"public, max-age=604800, stale-while-revalidate=2592000",
}, },
], ],
}, },