-
I want to assign fonts to my theme. I realize that the following won't work, since export const fonts = import.meta.globEager('./*.woff2', { import: 'default' }) Is there any way to import fonts (or rather paths to them) while in the |
Beta Was this translation helpful? Give feedback.
Answered by
askoufis
Sep 16, 2023
Replies: 1 comment
-
While you are restricted to the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
LIMPIX31
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While you are restricted to the
esbuild
environment, you can do basically anything you want at build-time, including using a glob library to get file paths.