patch: don't fail builds over images

This commit is contained in:
Cory Dransfeldt 2024-01-10 15:45:36 -08:00
parent 0d30b62072
commit aac5b2647d
No known key found for this signature in database

View file

@ -10,6 +10,7 @@ export const img = async (
formats = ['webp', 'jpeg'],
sizes = '100vw'
) => {
if (!src) return;
const imageMetadata = await Image(src, {
widths: [...widths, null],
formats: [...formats, null],