Font inconsistency between local run and online demo
nailuox opened this issue · comments
nailuox commented
Describe the bug
The font after local operation is inconsistent with the online demo, and the packaged font is the same as the online demo
Reproduction
no
System Info
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz
Memory: 2.04 GB / 15.77 GB
Binaries:
Node: 16.18.1 - D:\soft\nvm\nodejs\node.EXE
Yarn: 1.22.19 - D:\soft\nvm\nodejs\yarn.CMD
npm: 8.19.2 - D:\soft\nvm\nodejs\npm.CMD
pnpm: 8.6.10 - D:\soft\nvm\nodejs\pnpm.CMD
Browsers:
Edge: Chromium (115.0.1901.200)
Internet Explorer: 11.0.19041.1566
Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
Kevin Marrec commented
I can confirm that WebfontDownload
Vite plugin is not working with presetWebFonts
of UnoCSS, resulting in a production build without extracted fonts.