unplugin-fonts
unplugin-fonts copied to clipboard
[Bug]: SvelteKit example doesn't build
How to reproduce
Running pnpm run build complains about Error: Not found: /src/assets/fonts/DancingScript-Bold.ttf
Hello @heshdotcc! Thanks for opening this issue, we will get back to you soon! Until then, feel free to join us on discord
If you love our work, please consider sponsoring us
Specifying the source path of custom font as asset/fonts/DancingScript* seems to fix building script,
but ends with a build that doesn't render the font.
Hello @heshdotcc
Did you import the virtual font import ?
import 'unfonts.css'