Categories
property CreateImportMapOptions.scopes

Scope-specific import overrides keyed by scope prefix, following Deno's scoped mappings. Defaults to none.

Examples

Example 1

const scopes = { './tests/': { '#lib/bytes': './tests/stub/bytes.ts' } };

Type

Readonly<Record<string, Readonly<Record<string, string>>>>