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

x/emit/mod.ts>ImportMap

Transpile and bundle JavaScript and TypeScript under Deno and Deno Deploy
Go to Latest
interface ImportMap
import { type ImportMap } from "https://deno.land/x/emit@0.37.0/mod.ts";

Properties

optional
baseUrl: URL | string

Base URL to resolve import map specifiers. It Is always treated as a directory. Defaults to the file URL of Deno.cwd().

optional
imports: Record<string, string>

Specifiers of the import map.

optional
scopes: Record<string, Record<string, string>>

Overrides of the specifiers for the provided scopes.