Skip to content

[fontless] Support SvelteKit #558

@vnphanquang

Description

@vnphanquang

🆒 Your use case

Thanks for the good work here! I'm a heavy Svelte/SvelteKit user, and as of 0.0.2, fontless isn't working with SvelteKit from my test here: https://github.com/vnphanquang/sveltekit-fontless-reproduction.

🆕 The solution you'd like

Would be awesome to have this working in Sveltekit, if it's even possible without any additional adapter/config. Please see the reproduction repo above for more information.

🔍 Alternatives you've considered

Right now, I'm falling back to traditional methods of loading fonts (link, font-face, manual self-hosting, etc.), i.e not using fontless

ℹ️ Additional info

Would love to dive in the vite plugin code to see if i can help but just want to report here first in case someone already has better insight. Maybe this is related to Vite environment?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions