Categories
property WriteImportMapOptions.out

Output path, resolved against root. Accepts a relative path, an absolute path, a file:// URL string, or a URL. Defaults to import_map.json.

Deno loads the written file through the importMap field in deno.json or the --import-map flag; see Deno: imports vs importMap.

Examples

Example 1

const out = '.cache/maps/import_map.json';

Type