import { type DeployOptions } from "https://deno.land/x/dectyl@0.10.7/mod.ts";
Properties
Determines if the Deploy script should be bundled before being imported
into the worker. This defaults to true
.
If not bundling before deploying in the worker, it means the Deno CLI
process will import the root module and all of its dependencies, applying
the Deno CLI settings. This means by default it will type check any
TypeScript modules and has different defaults for JSX/TSX if used in the
application. You may want to use --no-check
and --config
to change
these behaviors.
A fully qualified path to what should be used for the cwd
overriding
the default Deno.cwd()
. When local file URLs are relative the value of
the cwd
is used to fully resolve the path.
What the local address will appear as in network connections. Defaults
to { hostname: "127.0.0.1", port: 80, transport: "tcp" }
An optional handler for fetch requests coming from the deploy script.
This is design to allow outbound fetch requests from the Deploy script to
be intercepted. If the respondWith()
is not called in the handler, then
the request will simply be passed through to the native fetch()
.
If the value is an array, each handler in the array will be called until
one responds, if none of them responds, then the request will be passed
to the native fetch()
.