My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Bundle information about gatsby image placeholders

Default profile photo
Anonymous
·Feb 7, 2022·

1 min read

Hello! 🙂

I have a generic question regarding generating childImageSharp and gatsbyImageData image generation and bundles

Let's say I process 100 photos and I use 20 of them on page A and a different set of 50 on page B

Will the base64 raw string format that's used for placeholders of all the 100 photos be included in the page A and page B bundles regardless if I'm using the photos or not?

I have some possible unused images and I am contemplating if it's worth to exclude them - build time is not an issue - and I have more important tasks now, but if it'll bloat the landing page (page A) bundle then I'll prioritise the removal of them.