Closed stephan-swiftcom closed 3 years ago
Hi @stephan-swiftcom thank you for reporting the issue. I will check it out ASAP and get back to you!
Hi @stephan-swiftcom, the issue has been fixed and I've improved the code base to better handle the missing options. Bump the package to new version: "gatsby-omni-font-loader": "^1.0.4",
Let me know if everything is alright and I'll close the issue.
@codeAdrian Wow thanks so much! Perfectly solved all my issues, all works as expected now
Firstly thanks for the plugin, I was surprised that a plugin like this didn't already exist.
I seem to be getting errors when I leave out some of the settings in the plugin. Namely, with the following config:
I get
Unhandled Rejection (TypeError): Invalid attempt to spread non-iterable instance.
I assume this is because I'm not providing
web
andpreconnect
arrays to the plugin.So I add some just to get the build going:
but then Helmet gives the following error:
I assume because something else again is not initialised.
Still looking into this though, but thought I would create an issue in the meantime :)