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.
This seems to cause errors with @mui v5 and the the
latest
of this plugin.Removing the line
webFontsConfig: null
allows my site to build.Originally posted by @panzacoder in https://github.com/hupe1980/gatsby-theme-material-ui/issues/16#issuecomment-1036750861