Next.js Discord

Discord Forum

Having Large First Load JS Problem

Unanswered
Sun bear posted this in #help-forum
Open in Discord
Sun bearOP
I am creating a website using NextJS 14.1.0 and PayloadCMS. I noticed that my bundle size keeps growing and I want some help on how to mitigate this.
I am using the payloadcms template pattern for rendering my components found here
https://github.com/payloadcms/payload/blob/main/templates/website/src/app/_components/Blocks/index.tsx

And I want to reduce my page and dynamic pages route bundle size to atleast 200kb. Any suggestions?

0 Replies