Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface DenoPluginOptions
import { type DenoPluginOptions } from "https://deno.land/x/frugal@0.3.0/dep/esbuild_deno_loader.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 Deno.run is not available.

  • 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-net.