Reproduce:
- Deno v1.23.3
- import_map.json:
{
"imports": {
"@mui/": "https://esm.sh/@mui/material@5.9.1/?alias=react:preact/compat,react/jsx-runtime:preact/compat/jsx-runtime&deps=preact@10.8.1"
}
}
Deno then reports back with:
Package address targets must end with "/".
I couldn't find a current code snippet, but for version 1.9.1 I found this check, which doesn't account for esm.sh alias feature, because it just checks the last character of the value string.
If you have any further questions, please let me know