regression: inlined css @font-face src url crashes Vite 2.9.7 and above #8091
Labels
feat: css
p3-minor-bug
An edge case that only affects very specific usage (priority)
regression
The issue only appears after a new release
Describe the bug
In my
head
section of index.html if I put the following style:When the dev server is running and a browser opens the page, I get:
The build is working, and the preview too.
It was working fine with Vite 2.9.6. It’s not working with versions 2.9.7 and above.
The culprit is the following line:
If you remove this line, it works.
Could this be an issue about inlined css urls?
Reproduction
https://stackblitz.com/edit/vitejs-vite-pusvkz?file=index.html
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: