feat(ecommerce): migrate Ari Shopping to Next.js 15 headless storefront v4
Build and Push Frontend / build (push) Failing after 9m42s

This commit is contained in:
2026-07-19 21:36:35 -05:00
parent 2e7abc7e72
commit fe7b2019c2
79 changed files with 7686 additions and 187 deletions
+17
View File
@@ -4,13 +4,30 @@ const nextConfig: NextConfig = {
output: "standalone",
poweredByHeader: false,
compress: true,
reactStrictMode: true,
images: {
// Los recursos del catálogo ya vienen preoptimizados en WebP.
// Evita el costo de transformar imágenes durante la primera visita.
unoptimized: true,
formats: ["image/avif", "image/webp"],
deviceSizes: [360, 640, 768, 1024, 1280, 1536],
},
experimental: {
optimizePackageImports: ["lucide-react", "motion"],
},
async headers() {
return [
{
source: "/images/:path*",
headers: [
{
key: "Cache-Control",
value: "public, max-age=604800, stale-while-revalidate=2592000",
},
],
},
];
},
};
export default nextConfig;