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
We're pulling in webfontlaoder via npm and currently using it as below
const WebFont = require('webfontloader'); WebFont.load({ google: { families: ['Droid Sans', 'Droid Serif'] } });
However I've noticed the compiled JS using webpack contains all the providers like typekit, fontdeck etc. We will only ever need the google provider.
Is there anyway to pull in only google and not bloat with extra providers?
Thanks
The text was updated successfully, but these errors were encountered:
We're pulling in webfontlaoder via npm and currently using it as below
However I've noticed the compiled JS using webpack contains all the providers like typekit, fontdeck etc. We will only ever need the google provider.
Is there anyway to pull in only google and not bloat with extra providers?
Thanks
The text was updated successfully, but these errors were encountered: