On this pageBundledFileNameOverviewconst BundledFileName: `"_worker.js"`A special file name that sets Cloudflare Pages to advanced mode.When using a _worker.js file, Cloudflare Pages will be in "advanced mode". Advanced mode disables the dyanmic aspects of the platform:The _worker.js file is deployed as is and must be written using the Module Worker syntax.Your /functions directory will be ignored.All incoming requests will be sent to your bundled worker file.You will have parse incoming request URLS with a router such as PatternToPageComponentMapSeeDefined inbundling/esbuild/variables/BundledFileName.ts:30
A special file name that sets Cloudflare Pages to advanced mode.
When using a
_worker.js
file, Cloudflare Pages will be in "advanced mode". Advanced mode disables the dyanmic aspects of the platform:_worker.js
file is deployed as is and must be written using the Module Worker syntax./functions
directory will be ignored.PatternToPageComponentMap