hygraph / gatsby-source-graphcms

The official Gatsby source plugin for GraphCMS projects
https://graphcms.com
MIT License
145 stars 41 forks source link

feat: Add gatsbyImageData resolver #171

Closed ynnoj closed 3 years ago

ynnoj commented 3 years ago

Adds a gatsbyImageData field (and resolver) to all Assets which enables use of gatsby-plugin-image without having to download assets locally at build. Utilises the GraphCMS CDN transformations API.

Todo

Fixes #169

gatsby-cloud[bot] commented 3 years ago

Gatsby Cloud Build Report

gatsby-source-graphcms

:tada: Your build was successful! See the Deploy preview here.

Build Details

View the build logs here.

:clock1: Build time: 24s

Performance

Lighthouse report

Metric Score
Performance :green_heart: 100
Accessibility :green_heart: 93
Best Practices :green_heart: 100
SEO :large_orange_diamond: 75

:link: View full report

notrab commented 3 years ago

🥳

I don't know much about the placeholder todo item, but everything else looks good!

github-actions[bot] commented 3 years ago

:tada: This PR is included in version 2.4.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

notrab commented 3 years ago

@all-contributors please add @ynnoj for code, blog, example, ideas, maintenance, projectManagement

allcontributors[bot] commented 3 years ago

@notrab

I've put up a pull request to add @ynnoj! :tada: