Hi all,
There is a long standing file path bug in ionic. If I build in production, a true image path to my resources directory is not working. For example:
<img src="../../../../assets/images/image.png" alt="not working in production" />
But if I change it to:
<img src="./assets/images/image.png" alt="not working in production" />
Or
img { background-image: url(../assets/images/image.png') }
then it works, because after the build, this are the paths on the www directory. The problem is that my IDE is marking this (still) not existing path as an error.
My question is should it be considered a bug? Should an issue be opened? I couldn’t find any issue on that on the repo.
related: