mirror of
https://github.com/denoland/deno.git
synced 2024-12-14 19:37:59 -05:00
999cbfb52b
This commit adds new "import.meta.resolve()" API which allows to resolve specifiers relative to the module the API is called in. This API supports resolving using import maps.
11 lines
324 B
JSON
11 lines
324 B
JSON
{
|
|
"imports": {
|
|
"bare": "https://example.com/",
|
|
"https://example.com/rewrite": "https://example.com/rewritten",
|
|
|
|
"1": "https://example.com/PASS-1",
|
|
"null": "https://example.com/PASS-null",
|
|
"undefined": "https://example.com/PASS-undefined",
|
|
"[object Object]": "https://example.com/PASS-object"
|
|
}
|
|
}
|