diff options
Diffstat (limited to 'docs/linking_to_external_code')
-rw-r--r-- | docs/linking_to_external_code/import_maps.md | 8 | ||||
-rw-r--r-- | docs/linking_to_external_code/reloading_modules.md | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/linking_to_external_code/import_maps.md b/docs/linking_to_external_code/import_maps.md index 6954019c2..4ddbdbc10 100644 --- a/docs/linking_to_external_code/import_maps.md +++ b/docs/linking_to_external_code/import_maps.md @@ -9,10 +9,10 @@ You can use import maps with the `--importmap=<FILE>` CLI flag. Current limitations: -- single import map -- no fallback URLs -- Deno does not support `std:` namespace -- supports only `file:`, `http:` and `https:` schemes +- single import map. +- no fallback URLs. +- Deno does not support `std:` namespace. +- supports only `file:`, `http:` and `https:` schemes. Example: diff --git a/docs/linking_to_external_code/reloading_modules.md b/docs/linking_to_external_code/reloading_modules.md index e96cfb0aa..48c5efbb2 100644 --- a/docs/linking_to_external_code/reloading_modules.md +++ b/docs/linking_to_external_code/reloading_modules.md @@ -17,14 +17,14 @@ deno cache --reload my_module.ts Sometimes we want to upgrade only some modules. You can control it by passing an argument to a `--reload` flag. -To reload all \$STD_VERSION standard modules +To reload all \$STD_VERSION standard modules: ```ts deno cache --reload=https://deno.land/std@$STD_VERSION my_module.ts ``` To reload specific modules (in this example - colors and file system copy) use a -comma to separate URLs +comma to separate URLs. ```ts deno cache --reload=https://deno.land/std@$STD_VERSION/fs/copy.ts,https://deno.land/std@$STD_VERSION/fmt/colors.ts my_module.ts |