gatsby-remark-relative-images icon indicating copy to clipboard operation
gatsby-remark-relative-images copied to clipboard

Strict mode for invalid image paths

Open wilitp opened this issue 4 years ago • 0 comments

I've encountered that if I wanted to throw an exception detailing:

  • which file contained an invalid path to an image
  • The actual invalid path

I can not get the latter, given that the node created for an invalid path is null when querying it.

Is there any way one can get the string for the invalid path? Is there any way for the plugin to be strict about the validity of every path?

wilitp avatar Jan 22 '21 04:01 wilitp