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
Describe the bug
The problem concerns the includes of fonts in the @layer. After compilation, the path and name of the font files change, but it is not updated in the source code.
Note the dist directory: It contains the font file like /SegMDL2.da0f727e.ttf but in index.b29f9d83.css it still as Segoe fonts v1710/SegMDL2.ttf. Because of this, the font file cannot be found and linked in the production.
Versions
vite-plugin-windicss: 1.4.12
vite:^2.6.4
The text was updated successfully, but these errors were encountered:
Describe the bug
The problem concerns the includes of fonts in the
@layer
. After compilation, the path and name of the font files change, but it is not updated in the source code.Minimal Reproductions
npm i && npm run build
dist
directory: It contains the font file like/SegMDL2.da0f727e.ttf
but inindex.b29f9d83.css
it still asSegoe fonts v1710/SegMDL2.ttf
. Because of this, the font file cannot be found and linked in the production.Versions
The text was updated successfully, but these errors were encountered: