From d2b32a65a787c8d3185a8d3ad1212bc82e24a195 Mon Sep 17 00:00:00 2001 From: Eric Zingeler Date: Fri, 27 Nov 2020 10:33:43 -0800 Subject: [PATCH] docs(import_maps): Add trailing slash to ./src example (#8524) Update docs to reflect behavior. If trailing slash is not provided, `deno run` will throw error `Package address targets must end with "/"`. --- docs/linking_to_external_code/import_maps.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/linking_to_external_code/import_maps.md b/docs/linking_to_external_code/import_maps.md index 72705fd617..a26b00e1e6 100644 --- a/docs/linking_to_external_code/import_maps.md +++ b/docs/linking_to_external_code/import_maps.md @@ -65,7 +65,7 @@ You may map a different directory: (eg. src) { "imports": { - "/": "./src" + "/": "./src/" } } ```