If gatsby-source-wagtail is installed into a relatively plain project
that does not have many other dependencies, it can easily happen that
the gatsby-transformer-sharp plugin is not installed.
This leads to errors, because preview.boilerplate.js contains the
following line (440):
The dependency on gatsby-transformer-sharp is now listed and automatically
installed when gatsby-source-wagtail is installed.
The defined version (2.5.6) is based on an example project I was working on a while
back. It would probably make sense to test lower versions of this
dependency as well.
If
gatsby-source-wagtail
is installed into a relatively plain project that does not have many other dependencies, it can easily happen that thegatsby-transformer-sharp
plugin is not installed.This leads to errors, because
preview.boilerplate.js
contains the following line (440):The dependency on
gatsby-transformer-sharp
is now listed and automatically installed whengatsby-source-wagtail
is installed.The defined version (2.5.6) is based on an example project I was working on a while back. It would probably make sense to test lower versions of this dependency as well.