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

Fixes errors when downloading images with Gatsby v4 #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

prosellen
Copy link

The arguments passed to the touchNode action have changed in Gatsby v4. This causes the plugin to produce an error.

This PR should fix the issue and close #26 ... but is probably going to produce errors with Gatsby v3 and below. I have no experience in developing Gatsby plugins, so I have no idea if there is a way to conditionally switch for v4 and v3.

Gatsby v4 migration article for toucNode: https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v3-to-v4/#change-arguments-passed-to-touchnode-action

The arguments passed to `touchNode` have changed in Gatsby v4. This causes the plugin to produce an error.
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

Successfully merging this pull request may close these issues.

Error downloading images w/ Gatsby v4
1 participant