Menu
Running a hybrid website where all pages are static except for some API routes used for form submissions. I’ve noticed that my server bundle, specifically the _worker.js
file for Cloudflare, includes a lot of React-related code that isn’t executed. How can I optimize this and exclude the unnecessary React components from my server bundle?