Skip to main content
Module

x/cav/deps.ts>emit.EmitOptions

A server framework for Deno
Go to Latest
interface emit.EmitOptions
import { type emit } from "https://deno.land/x/cav@0.2.0-alpha.4/deps.ts";
const { EmitOptions } = emit;

Options which can be set when using the emit function.

Properties

optional
allowRemote: boolean

Allow remote modules to be loaded or read from the cache.

optional
cacheRoot: string

The cache root to use, overriding the default inferred DENO_DIR.

optional
cacheSetting: CacheSetting

The setting to use when loading sources from the Deno cache.

optional
load: FetchCacher["load"]

Override the default loading mechanism with a custom loader. This can provide a way to use "in-memory" resources instead of fetching them remotely.