NextJS - Large page data - Data for page exceeds the threshold of 128 KB's

As you are fetching a lot of data (more than 128kb) in getStaticProps, the warning is pretty much warranted.

Reduce the amount of data returned from getStaticProps, getServerSideProps, or getInitialProps to only the essential data to render the page. The default threshold of 128kB can be configured in largePageDataBytes if absolutely necessary and the performance implications are understood.

To inspect the props passed to your page, you can inspect the below element’s content in your browser devtools:

document.getElementById("__NEXT_DATA__").text