Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions packages/gatsby-source-contentful/src/fragments.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ export const contentfulAssetFixed = graphql`
}
`

export const contentfulAssetFixedTracedSVG = graphql`
fragment GatsbyContentfulFixed_tracedSVG on ContentfulFixed {
tracedSVG
width
height
src
srcSet
}
`

export const contentfulAssetFixedNoBase64 = graphql`
fragment GatsbyContentfulFixed_noBase64 on ContentfulFixed {
width
Expand Down Expand Up @@ -52,6 +62,16 @@ export const contentfulAssetFluid = graphql`
}
`

export const contentfulAssetFluidTracedSVG = graphql`
fragment GatsbyContentfulFluid_tracedSVG on ContentfulFluid {
tracedSVG
aspectRatio
src
srcSet
sizes
}
`

export const contentfulAssetFluidNoBase64 = graphql`
fragment GatsbyContentfulFluid_noBase64 on ContentfulFluid {
aspectRatio
Expand Down