Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface DenoResolverPluginOptions
import { type DenoResolverPluginOptions } from "https://deno.land/x/esbuild_deno_loader@0.8.2/src/plugin_deno_resolver.ts";

Properties

optional
configPath: string

Specify the path to a deno.json config file to use. This is equivalent to the --config flag to the Deno executable. This path must be absolute.

optional
importMapURL: string

Specify a URL to an import map file to use when resolving import specifiers. This is equivalent to the --import-map flag to the Deno executable. This URL may be remote or a local file URL.

If this option is not specified, the deno.json config file is consulted to determine what import map to use, if any.