From 070d99645f4849cfc4479382d756bd40379594d0 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Tue, 20 Oct 2020 13:30:59 +0100 Subject: chore: Rename --importmap to --import-map (#7032) --importmap still works as an alias to --import-map but is not visible in CLI help output. --- docs/linking_to_external_code/import_maps.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/linking_to_external_code') diff --git a/docs/linking_to_external_code/import_maps.md b/docs/linking_to_external_code/import_maps.md index 4ddbdbc10..72705fd61 100644 --- a/docs/linking_to_external_code/import_maps.md +++ b/docs/linking_to_external_code/import_maps.md @@ -5,7 +5,7 @@ Deno supports [import maps](https://github.com/WICG/import-maps). -You can use import maps with the `--importmap=` CLI flag. +You can use import maps with the `--import-map=` CLI flag. Current limitations: @@ -37,7 +37,7 @@ console.log(red("hello world")); Then: ```shell -$ deno run --importmap=import_map.json --unstable color.ts +$ deno run --import-map=import_map.json --unstable color.ts ``` To use starting directory for absolute imports: -- cgit v1.2.3