Skip to content

[fontless] support fonts in npm packages like @fontsource/xxx #542

@dominikg

Description

@dominikg

🆒 Your use case

I prefer builds to be reproducible/hermetic/isolated. So downloading a font file into a local cache each time is a non-starter.

I looked at the providers in unifont but all of them seem to download always.

🆕 The solution you'd like

Implement an npm provider that looks up font names on known npm orgs, adding them as devDependencies to the project and then mapping to the files in those packages instead of a local cache populated by downloading/copying.

🔍 Alternatives you've considered

not using this

ℹ️ Additional info

No response

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