Open skipjack opened 7 years ago
Looking at the webfonts-generator docs I see it only lists:
Possible values: svg, ttf, woff, eot.
So maybe these docs just need to be updated.
UPDATE: And now I'm seeing there's already an issue over there.
As this repo is down, I created (jeerbl/webfonts-loader)[https://github.com/jeerbl/webfonts-loader] released on NPM so that you can get updates and fixes resolved.
Regarding woff2 support, a new version of webfonts-generator supporting it is being released #5.
webfonts-generator
has been released with WOFF2 support so I released webfonts-loader v0.1.0 supporting it as well.
In the readme it states:
However, when I include woff2 in my list of
types
, like so:I get an error:
Am I missing something? Is
woff2
not how I should specify it?Aside from this issue, this loader is super handy and I really appreciate your work on it! I'd be willing to submit a PR for some grammar fixes and cleanup in the README if you wouldn't mind...