PonchoP
Denoβ€’2y agoβ€’
3 replies
Poncho

Add static font files as a fresh plugin

Hello! I'm creating a component library for Fresh. I'm in the part of setting up the plugin part of the library and I've successfully configured all static css and islands. I am looking for a way (if possible) of also adding static font files (.woff2 and such) so that the users of my library won't have to manually add them to the /static directory, and importing them in the /routes/_app.tsx function.
Thank you πŸ˜„
Was this page helpful?