Hi,
I wonder how Cloudflare Pages Functions work under the hood
- are they all bundled into a single Worker, or each Pages Function is compiled into a dedicated Worker?
The reason I’m asking is that up until now I’ve been sure that each Function is translated into a single Worker.
But recently I learned about the wrangler pages functions build ./functions
which compiles all my functions files into a single _worker.bundle
. That makes my think I might have been wrong.
I want to have a proper mental modal when developing my apps.