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

configuring "formats" has no effect #278

Open
JorisAerts opened this issue Oct 23, 2020 · 0 comments
Open

configuring "formats" has no effect #278

JorisAerts opened this issue Oct 23, 2020 · 0 comments

Comments

@JorisAerts
Copy link

I've setup a configuration using only a few formats, but still every font type gets created.
{ formats: ['svg', 'ttf', 'woff'], }

This is probably because you are merging this config with a default config, which already contains all formats. I guess merging these arrays just results in array concatenation.

@jimmyandrade jimmyandrade added this to Needs triage in webfont bug triage via automation Oct 23, 2020
@jimmyandrade jimmyandrade moved this from Needs triage to High priority in webfont bug triage Oct 23, 2020
@jimmyandrade jimmyandrade moved this from High priority to Low priority in webfont bug triage Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants