patch: don't fail builds over images
This commit is contained in:
parent
0d30b62072
commit
aac5b2647d
1 changed files with 1 additions and 0 deletions
|
@ -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],
|
||||
|
|
Reference in a new issue