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 | |
| 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')
| -rw-r--r-- | docs/getting_started/command_line_interface.md | 2 | ||||
| -rw-r--r-- | docs/linking_to_external_code/import_maps.md | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/getting_started/command_line_interface.md b/docs/getting_started/command_line_interface.md index adc984971..49f90a834 100644 --- a/docs/getting_started/command_line_interface.md +++ b/docs/getting_started/command_line_interface.md @@ -115,7 +115,7 @@ resolution, compilation configuration etc. ``` --config <FILE> Load tsconfig.json configuration file ---importmap <FILE> UNSTABLE: Load import map file +--import-map <FILE> UNSTABLE: Load import map file --no-remote Do not resolve remote modules --reload=<CACHE_BLOCKLIST> Reload source code cache (recompile TypeScript) --unstable Enable unstable APIs 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: |
