Closed nailuox closed 1 year ago
The font after local operation is inconsistent with the online demo, and the packaged font is the same as the online demo
local run:
online demo:
package:
no
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
pnpm
I can confirm that WebfontDownload Vite plugin is not working with presetWebFonts of UnoCSS, resulting in a production build without extracted fonts.
WebfontDownload
presetWebFonts
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
local run:
online demo:
package:
Reproduction
no
System Info
Used Package Manager
pnpm
Validations