You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correct me if I'm wrong, but it seems like the way to source both image and video resourceType's, is to include the gatsby-source-cloudinary plugin twice in gatsby-config.js. Is this the recommended approach?
I tried an array ["image", "video"] but resourceType must be a string. Also tried "image,video" but that didn't seem to work.
I feel like it would be nice to call out the recommended way to do this in the docs somewhere (whether that is what I've done or another way). I find it kind of surprising the Gatsby config allows duplicate plugins like this; I tried this as a kind of last-ditch effort and it worked, so some explicit guidance would be super helpful.
The text was updated successfully, but these errors were encountered:
Correct me if I'm wrong, but it seems like the way to source both image and video
resourceType
's, is to include thegatsby-source-cloudinary
plugin twice ingatsby-config.js
. Is this the recommended approach?Example:
I tried an array
["image", "video"]
butresourceType
must be a string. Also tried"image,video"
but that didn't seem to work.I feel like it would be nice to call out the recommended way to do this in the docs somewhere (whether that is what I've done or another way). I find it kind of surprising the Gatsby config allows duplicate plugins like this; I tried this as a kind of last-ditch effort and it worked, so some explicit guidance would be super helpful.
The text was updated successfully, but these errors were encountered: