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
Suppose my current directory structure is like this:
.
└── docs
└── article
└── a
└── b
├── c
│ └── kitten.png
└── demo.mdx
then in demo.mdx I use ![kitten](./c/kitten.png) to import an image.
It can display the image normally in development environment, but fails to display the image in production environment. I checked the dist directory after build, and did not find the corresponding image file in it.
Describe the bug
When I use local images in markdown, they display properly during development, but after packaging the images fail to show.
I checked the dist directory and did not find the image files in there.
Reproduction
see: https://codesandbox.io/p/sandbox/islandjs-img-resolve-issue-xtprjj?file=%2Fisland-app%2Fdocs%2Farticle%2Fastro.md%3A5%2C11
Expected behavior
Package local images used in markdown correctly.
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: