It seems it breaks when relative urls are used, as an example: https://cdn.jsdelivr.net/npm/@mdi/font@7.x/css/materialdesignicons.min.css
Uses a relative url to the font files like url("../fonts/materialdesignicons-webfont.eot?v=7.0.96") which seems to break as the full relative path is just copied over to the webfonts.css - but vite than fails to load these - at least during HMR
It seems it breaks when relative urls are used, as an example: https://cdn.jsdelivr.net/npm/@mdi/font@7.x/css/materialdesignicons.min.css Uses a relative url to the font files like
url("../fonts/materialdesignicons-webfont.eot?v=7.0.96")
which seems to break as the full relative path is just copied over to the webfonts.css - but vite than fails to load these - at least during HMR