From 039485be542357bd503cb601598713886b1aecf3 Mon Sep 17 00:00:00 2001 From: Jonas Braathen Date: Mon, 26 Oct 2020 03:55:01 +0100 Subject: [PATCH] Ignore extension check in gatsby-transformer-sharp --- gatsby-config.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gatsby-config.js b/gatsby-config.js index 0710001..e15fa7b 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -60,7 +60,14 @@ module.exports = { }, 'gatsby-plugin-catch-links', 'gatsby-plugin-sharp', - 'gatsby-transformer-sharp', + { + resolve: 'gatsby-transformer-sharp', + options: { + // we can silence this if we know we're doing it right + // https://github.com/gatsbyjs/gatsby/issues/21776 + checkSupportedExtensions: false, + }, + }, { resolve: 'gatsby-plugin-canonical-urls', options: {