Skip to main content
Module

x/esbuild_deno_loader/mod.ts>DenoPluginOptions

Deno module resolution for `esbuild`
Go to Latest
interface DenoPluginOptions
import { type DenoPluginOptions } from "https://deno.land/x/esbuild_deno_loader@0.6.0/mod.ts";

Properties

optional
importMapURL: URL

Specify the URL to an import map to use when resolving import specifiers. The URL must be fetchable with fetch.

optional
loader: "native" | "portable"

Specify which loader to use. By default this will use the native loader, unless the --allow-run permission has not been given.

  • native: Shells out to the Deno execuatble under the hood to load files. Requires --allow-read and --allow-run.
  • portable: Do module downloading and caching with only Web APIs. Requires --allow-read and/or --allow-net.