Unknown plugin option bug #31465
-
DescriptionI'm using
I haven't made a query for the image data yet. My config file: module.exports = {
plugins: [
`gatsby-plugin-emotion`,
`gatsby-plugin-image`,
{
resolve: `gatsby-plugin-sharp`,
options: {
defaults: {
formats: [`auto`, `webp`, `avif`],
layout: `fullWidth`,
quality: 80,
},
},
},
`gatsby-transformer-sharp`,
{
resolve: `gatsby-source-strapi`,
options: {
apiURL: `xxx.herokuapp.com`,
queryLimit: 1000,
contentTypes: [
`products`,
],
},
},
],
} Steps to reproduceI don't have a minimal reproduction up sorry but can get one up if needed. Expected resultI expect to be able to set a default layout in the config file. EnvironmentSystem: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can't set a default |
Beta Was this translation helpful? Give feedback.
You can't set a default
layout
for every image query. It'll beCONSTRAINED
by default, if you want to change that you'll need to do that in the individual query / StaticImage component