Archived
Firebase static export forced images.unoptimized; Vercel runs the optimizer, so drop it to auto-resize and serve WebP for the product photos.
23 lines
352 B
TypeScript
23 lines
352 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'itsthevine.com',
|
|
},
|
|
],
|
|
},
|
|
turbopack: {
|
|
rules: {
|
|
'*.svg': {
|
|
loaders: ['@svgr/webpack'],
|
|
as: '*.js',
|
|
},
|
|
},
|
|
}
|
|
};
|
|
|
|
export default nextConfig;
|