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
Hi, I've been trying to figure out if its possible for image imports to resolve relative to a nested directory, let me explain:
I have the following structure
where posts will be stored in a named directory, with an index file and any other resources
And in the index.mdx file for "building-a-blog" I want add the dummy.png image, So i'm trying this:
it wasn't working, but when doing research I saw that it looked like some kind of fix for this was put in place in the most recent release as part of #270 but I couldn't quite figure out how to get it to work,
I tried updating my makeSource function with an esbuildOptions function:
Activity
SamuelQuinones commentedon Aug 14, 2022
I should also note that when I try to reference an image in the public directory:

it renders on the page just fine
schickling commentedon Sep 5, 2022
Thanks a lot for opening this issue. This seems to be a duplicate of #11.
In case you think it's a different issue, I'm happy to re-open this issue.