Archived
Enable Next image optimization now that hosting is Vercel
Firebase static export forced images.unoptimized; Vercel runs the optimizer, so drop it to auto-resize and serve WebP for the product photos.
This commit is contained in:
@@ -2,7 +2,6 @@ import type { NextConfig } from "next";
|
|||||||
|
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
images: {
|
images: {
|
||||||
unoptimized: true,
|
|
||||||
remotePatterns: [
|
remotePatterns: [
|
||||||
{
|
{
|
||||||
protocol: 'https',
|
protocol: 'https',
|
||||||
|
|||||||
Reference in New Issue
Block a user