danielmahon / gatsby-remark-relative-images

Convert markdown image src(s) to be relative for gatsby-remark-images.
https://www.npmjs.com/package/gatsby-remark-relative-images
BSD Zero Clause License
79 stars 29 forks source link

Resolve query despite image doesn't exist anymore #62

Open Mario8419 opened 1 year ago

Mario8419 commented 1 year ago

I had a view cases where customers deleted images from netlify-cms media folder without deleting the connected entry. So the markdown file still has the path to the image but the image doesn't exist anymore and the build then fails. Is there a fallback solution this plugin giving a null value if that case happens? thanks in advance