diff options
Diffstat (limited to 'docs/linking_to_external_code')
-rw-r--r-- | docs/linking_to_external_code/import_maps.md | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/docs/linking_to_external_code/import_maps.md b/docs/linking_to_external_code/import_maps.md index 3703b214e..c00aa0290 100644 --- a/docs/linking_to_external_code/import_maps.md +++ b/docs/linking_to_external_code/import_maps.md @@ -1,19 +1,9 @@ ## Import maps -> This is an unstable feature. Learn more about -> [unstable features](../runtime/stability.md). - Deno supports [import maps](https://github.com/WICG/import-maps). You can use import maps with the `--import-map=<FILE>` CLI flag. -Current limitations: - -- single import map. -- no fallback URLs. -- Deno does not support `std:` namespace. -- supports only `file:`, `http:` and `https:` schemes. - Example: **import_map.json** @@ -37,7 +27,7 @@ console.log(red("hello world")); Then: ```shell -$ deno run --import-map=import_map.json --unstable color.ts +$ deno run --import-map=import_map.json color.ts ``` To use starting directory for absolute imports: |