Skip to content

Commit

Permalink
feat(gatsby-source-url): add another fluid fragment and todo for base64
Browse files Browse the repository at this point in the history
  • Loading branch information
frederickfogerty committed Aug 20, 2020
1 parent 4167a78 commit 8f753f1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/gatsby-source-url/fragments.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
import { graphql } from 'gatsby';

// TODO: add base64 when available
export const GatsbySourceImgixFluid = graphql`
fragment GatsbySourceImgixFluid on SourceImgixFluid {
aspectRatio
src
srcWebp
srcSet
srcSetWebp
sizes
}
`;

export const GatsbySourceImgixFluid_noBase64 = graphql`
fragment GatsbySourceImgixFluid_noBase64 on SourceImgixFluid {
aspectRatio
src
srcWebp
srcSet
srcSetWebp
sizes
}
Expand Down

0 comments on commit 8f753f1

Please sign in to comment.