How to reduce Generating image thumbnails on build?

Hi,

We are hosting quite some images and this slows down our deploy time significantly.

[========================== ] 168.048 s 876/910 96% Generating image thumbnails

We use this flag to introduce incremental build:

"build": "GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES=true gatsby build --log-pages",

Yet, it does not help with the image builds.

Do you have any tips on how to handle this?

You should ask Gatsby support, rather than Prismic