Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/keywork/bundling/esbuild/mod.ts>BundledFileName

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Latest
variable BundledFileName
Re-export
import { BundledFileName } from "https://deno.land/x/keywork@v6.2.1/bundling/esbuild/mod.ts";

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 PatternToPageComponentMap

type

"_worker.js"