diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-10-20 13:30:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 14:30:59 +0200 |
commit | 070d99645f4849cfc4479382d756bd40379594d0 (patch) | |
tree | a575e73c8e8adf11fe424833035fe205de081a2c /docs/linking_to_external_code | |
parent | aa0e64b5794e4515d5e1911107ba54ce7e0dcc3c (diff) |
chore: Rename --importmap to --import-map (#7032)
--importmap still works as an alias to --import-map
but is not visible in CLI help output.
Diffstat (limited to 'docs/linking_to_external_code')
-rw-r--r-- | docs/linking_to_external_code/import_maps.md | 4 |
1 files changed, 2 insertions, 2 deletions
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=<FILE>` CLI flag. +You can use import maps with the `--import-map=<FILE>` 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: |