You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
For some reason the prefect the icon files are being inlined in the css output. This causes the dist/style.css to be very large (over 3 mb). My assumption is that this is inefficient as the browser should be able to determine which file it should download. Since all 3 are inlined every browser is effectively downloading all 3 but only using one.
The text was updated successfully, but these errors were encountered:
Appears to be a bug in vite's lib mode that prevents it from exporting static assets. Seems like there's some agreement on that it should be fixed but hasn't been. vitejs/vite#3295
From my testing putting the fonts in the public folder fixes the build issue. This should be enough for now. This could be revisited when that vite issue is resolved.
For some reason the prefect the icon files are being inlined in the css output. This causes the dist/style.css to be very large (over 3 mb). My assumption is that this is inefficient as the browser should be able to determine which file it should download. Since all 3 are inlined every browser is effectively downloading all 3 but only using one.
The text was updated successfully, but these errors were encountered: