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

x/rad/src/tasks/build-buds/deb/3p.ts>emit.BundleOptions

general purpose build tool. statically typed, batteries included. command, function, and make-style tasks supported. improved npm scripts for deno.
Latest
interface emit.BundleOptions
import { type emit } from "https://deno.land/x/rad@v6.11.0/src/tasks/build-buds/deb/3p.ts";
const { BundleOptions } = emit;

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
compilerOptions: CompilerOptions

Compiler options which can be set when bundling.

optional
imports: Record<string, string[]>
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.

optional
type: "module" | "classic"

Should the emitted bundle be an ES module or an IIFE script. The default is "module" to output a ESM module.