nitrojs / nitro

Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.
https://nitro.build
MIT License
6.28k stars 516 forks source link

fix(node-cluster): create dedicated chunk for worker #2894

Closed pi0 closed 3 days ago

pi0 commented 3 days ago

resolves #2892

as a side effect of fixes in #2547 (nitro 2.10) we were forcing all nitro-relevant stuff into one big chunk.

This PR makes sure for node-cluster we create a dedicated external chunk for server-entrypoint.

cloudflare-workers-and-pages[bot] commented 3 days ago

Deploying nitrojs with  Cloudflare Pages  Cloudflare Pages

Latest commit: d3b8ac7
Status: ✅  Deploy successful!
Preview URL: https://87e90600.nitrojs.pages.dev
Branch Preview URL: https://fix-no-manual-chunks.nitrojs.pages.dev

View logs