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

Unable to disable webFontsConfig #96

Open
austinbutler opened this issue Jul 8, 2022 · 1 comment
Open

Unable to disable webFontsConfig #96

austinbutler opened this issue Jul 8, 2022 · 1 comment

Comments

@austinbutler
Copy link

This seems to cause errors with @mui v5 and the the latest of this plugin.

 ERROR #98124  WEBPACK

Generating development SSR bundle failed

Can't resolve '/.cache/webfonts/webfonts.css' in '/Users/jshebert/Development/lightstep-web/node_modules/gatsby-plugin-webfonts'

If you're trying to use a package make sure that '/.cache/webfonts/webfonts.css' is installed. If you're trying to use a local file make sure that the path is
 correct.

File: node_modules/gatsby-plugin-webfonts/gatsby-ssr.js:24:39

not finished Building development bundle - 5.847s
not finished Caching HTML renderer compilation - 0.023s

Removing the line webFontsConfig: null allows my site to build.

Originally posted by @panzacoder in #16 (comment)

@chandlervdw
Copy link

I also am unable to override the fonts with this plugin using webFontsConfig: null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants