-
Notifications
You must be signed in to change notification settings - Fork 7
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
There appears to be an issue with the option: formats #19
Comments
This below, just results in the new GoogleFontsPlugin({
fonts: [
{
family: "Open Sans",
variants: ["300", "300i", "400", "400i", "600", "600i", "700", "700i", "800", "800i"]
}
],
encode: false,
filename: "google-fonts.css",
formats: ["woff2", "woff", "ttf", "eof"]
}) |
Hello, the plugin outputs each format to it's own file. This is controlled by the I understand, that without encoding, you could just have one file and let the client download the files it needs and chooses by itself... What do you think is the best approach? Should this happen automatically when encoding is disabled or should there be another option like |
I think |
Any progress on this issue? It'd be great to be able to generate a single |
Hey,
I am trying to not rely on Google Fonts in Production and I am going to use your neat plugin to download the fonts I need. However, I t5hink I have stumbled upon a bug. Can you please confirm, or let me know what I am doing wrong. Thanks
This outputs a css file but all the formats I requested are absent. I just get
woff2
version of the font. Different types work if they are the only format requested. Is there a work around?Thanks,
Damien
The text was updated successfully, but these errors were encountered: