After some discussion with Jason Lengstorf from Netlify, I'm looking into a few different build-time optimizations. One of the suggestions was to shut off type inference for page context within gatsby, which cuts down on calculations done for each page of the site (13k and growing as of this PR).
Describe your PR
After some discussion with Jason Lengstorf from Netlify, I'm looking into a few different build-time optimizations. One of the suggestions was to shut off type inference for page context within gatsby, which cuts down on calculations done for each page of the site (13k and growing as of this PR).
More info here: https://www.gatsbyjs.com/docs/scaling-issues/#switch-off-type-inference-for-sitepagecontext
Related to
perf
Fixesn/a
Pages/Interfaces that will change
netlify build time 🤞
Screenshots / video of changes
n/a
Steps to test
Additional notes