/static/
works in development but not when building
#4971
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
🐛 Bug Report
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
If I have an image in
/static/img.png
then I can link to it using<img src="/static/img.png" />
while previewing but it breaks when building and I need to change it to/img.png
.Could either remove this mechanism in dev mode or trigger a broken build because of a broken link - anything that would catch the error would be useful.
Have you read the Contributing Guidelines on issues?
Yes
The text was updated successfully, but these errors were encountered: