I imported a svg into my public folder. However, when I added the svg to my index.astro, there are red lines over my entire index.astro file. The error says: "The Astro compiler encountered an unknown error while parsing this file's AST. Please create an issue with your code and the error shown in the server's logs: https://github.com/withastro/language-tools/issuesastro(1000)"
But when I run "npm run dev", I can still see the illustrations show up.
What version of
@astrojs/compiler
are you using?4.3.7
What package manager are you using?
npm
What operating system are you using?
Mac
Describe the Bug
I imported a svg into my public folder. However, when I added the svg to my index.astro, there are red lines over my entire index.astro file. The error says: "The Astro compiler encountered an unknown error while parsing this file's AST. Please create an issue with your code and the error shown in the server's logs: https://github.com/withastro/language-tools/issuesastro(1000)"
But when I run "npm run dev", I can still see the illustrations show up.
Link to Minimal Reproducible Example
https://github.com/GuoChen018/digital-home.git