This commit is contained in:
Kevin Kandlbinder 2022-02-04 13:52:50 +00:00 committed by GitHub
parent 78db8f07a2
commit cae386d5bd
2 changed files with 23 additions and 19 deletions

View file

@ -125,25 +125,7 @@ module.exports = {
}, },
`gatsby-plugin-remove-serviceworker`, `gatsby-plugin-remove-serviceworker`,
`gatsby-plugin-eslint`, `gatsby-plugin-eslint`,
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
`gatsby-remark-images`,
`gatsby-transformer-sharp`,
`gatsby-transformer-json`, `gatsby-transformer-json`,
{
resolve: `gatsby-plugin-portal`,
options: {
key: "osnav",
id: "osnav",
},
},
{
resolve: `gatsby-plugin-remote-images`,
options: {
nodeg: "SocialsJson",
imagePath: "image",
},
},
{ {
resolve: `gatsby-plugin-remote-images`, resolve: `gatsby-plugin-remote-images`,
options: { options: {
@ -151,6 +133,24 @@ module.exports = {
imagePath: "imageURL", imagePath: "imageURL",
}, },
}, },
{
resolve: `gatsby-plugin-remote-images`,
options: {
nodeType: "SocialsJson",
imagePath: "image",
},
},
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
`gatsby-remark-images`,
`gatsby-transformer-sharp`,
{
resolve: `gatsby-plugin-portal`,
options: {
key: "osnav",
id: "osnav",
},
},
{ {
resolve: `gatsby-source-filesystem`, resolve: `gatsby-source-filesystem`,
options: { options: {

View file

@ -16,7 +16,11 @@ export const query = graphql`
url url
localImage { localImage {
childImageSharp { childImageSharp {
gatsbyImageData(height: 300, width: 300) gatsbyImageData(
height: 300
width: 300
placeholder: BLURRED
)
} }
} }
} }