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

CLI/programmatic usage #17

Open
danielroe opened this issue Oct 15, 2022 · 2 comments
Open

CLI/programmatic usage #17

danielroe opened this issue Oct 15, 2022 · 2 comments
Labels
enhancement New feature or request polar

Comments

@danielroe
Copy link
Member

danielroe commented Oct 15, 2022

Any way of using this in a CLI? Maybe analyzing a URL and returning the generated font overrides? I guess you'd also need to provide the local files.

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@danielroe danielroe added the enhancement New feature or request label Oct 15, 2022
@max-arias
Copy link

max-arias commented Oct 16, 2022

Hey! Appreciate you creating the issue.
My use-case was basically using this with Nuxt 2. I see that there's a Nuxt 3 plugin, but I didn't look how much of a lift it would be to support v2. Inlining all the CSS was a bit of a turnoff as well.

Also I think this would be useful for people not using a bundler.

@danielroe
Copy link
Member Author

I think you might be able to use this with Nuxt 2 by adding FontaineTransform.webpack() to your webpack plugins. But I haven't tested that.

@polar-sh polar-sh bot added the polar label Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request polar
Projects
None yet
Development

No branches or pull requests

2 participants