Skip to content

Commit

Permalink
docs(import_maps): Add trailing slash to ./src example (denoland#8524)
Browse files Browse the repository at this point in the history
Update docs to reflect behavior. If trailing slash is not provided, `deno run` will throw error `Package address targets must end with "/"`.
  • Loading branch information
eezing authored Nov 27, 2020
1 parent f60c80e commit d2b32a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/linking_to_external_code/import_maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ You may map a different directory: (eg. src)

{
"imports": {
"/": "./src"
"/": "./src/"
}
}
```

0 comments on commit d2b32a6

Please sign in to comment.