Markdown pages aren't included in the build when they reference a local image #8485
Labels
- P4: important
Violate documented behavior or significantly impacts performance (priority)
feat: assets
Related to the Assets feature (scope)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
src
folder (e.g.src/assets/image.jpg
)src/pages/example.md
)![](../assets/image.jpg)
)astro dev
),/example
page loads as expected and shows that imageastro build
,/example
page doesn't show up in "generating static routes" section nor does it exist in thedist
folder.![](../assets/image.jpg)
from Markdown and runastro build
again,/example
page is generated and exists in thedist
folder as/example/index.html
, as expected.What's the expected result?
Generate the Markdown page with or without local images in
astro build
or show the error that prevents that page from being built.Link to Minimal Reproducible Example
https://codesandbox.io/p/sandbox/epic-resonance-qfsyl4
Participation
The text was updated successfully, but these errors were encountered: