Hi all,
Im trying to install and use this plugin for my builder site. And added the configuration inside the gatsby-config.js
and changed my page model query like below
but when building or running dev version I get the following error with the page query change.
What am I missing here?
aziz
2
Hi @shehan , try making the models array in the gatsby-config class cased [start with a capital letter]:
resolve: "@builder.io/gatsby-transform-images",
options: {
models: ['Page', 'BlogArticle', 'Recipe'] , // Class case
replaceLinksToStatic: true,
}
Hey @aziz,
That did it. Wonder why that is. But thank you for the quick response and help.