improve image quality

This commit is contained in:
Chuck Dries 2022-02-28 17:53:19 -08:00
parent 2b86406fde
commit 84b43d1f40
No known key found for this signature in database
GPG Key ID: A00B7AEAE1DC5BE6
2 changed files with 9 additions and 1 deletions

View File

@ -17,7 +17,14 @@ module.exports = {
}, },
}, },
"gatsby-plugin-mdx", "gatsby-plugin-mdx",
"gatsby-plugin-sharp", {
resolve: `gatsby-plugin-sharp`,
options: {
defaults: {
quality: 75
}
}
},
"gatsby-transformer-sharp", "gatsby-transformer-sharp",
"gatsby-plugin-postcss", "gatsby-plugin-postcss",
{ {

View File

@ -243,6 +243,7 @@ export const query = graphql`
placeholder: DOMINANT_COLOR placeholder: DOMINANT_COLOR
# placeholder: TRACED_SVG # placeholder: TRACED_SVG
height: 2160 height: 2160
quality: 90
) )
} }
fields { fields {