Vite: Work around crash when .svg file contains # or ?#16957
Vite: Work around crash when .svg file contains # or ?#16957philipp-spiess merged 1 commit intomainfrom
.svg file contains # or ?#16957Conversation
31f8f4b to
18bc808
Compare
RobinMalfait
left a comment
There was a problem hiding this comment.
That's unfortunate that Vite crashes here; Does that mean that if you have these SVGs in your project that changes are never reflected and you have to restart your build for them to take effect?
Because I think the only reason Vite is crashing due to our plugin is just because we mark it with addWatchFile?
Correct if you have |
Closes #16877
This PR works around #16877 by not registering
.svgfiles containing a#or?as a watch dependency for now.Test plan
src/c#.svg