Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out how to package fonts #3

Closed
MelissaAutumn opened this issue Sep 25, 2024 · 0 comments · Fixed by #24
Closed

Figure out how to package fonts #3

MelissaAutumn opened this issue Sep 25, 2024 · 0 comments · Fixed by #24
Assignees

Comments

@MelissaAutumn
Copy link
Member

MelissaAutumn commented Sep 25, 2024

We don't want to base64 and embed the fonts into style.css because we want to be able to tree-shake any extra font resources. However including the resources in public doesn't seem to work as expected.

https://github.com/vitejs/vite/issues/3295

We could just not include the fonts in the build and expect the consumer of this library to bring them in a specific directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant