0

I am using SSG with Next.js 13.1. I am using @next/bundle-analyzer to analyze my nextjs bundles. I found out that some imported functions used in my getServerSideProps are also included in the client-side bundle. How should I design my code so server-side code does not get included in the client-side bundle?

Sakibul Alam
  • 1,731
  • 2
  • 21
  • 40

0 Answers0