mirror of
https://github.com/denoland/deno.git
synced 2024-11-29 16:30:56 -05:00
576b20aa00
Closes https://github.com/denoland/deno/issues/21298. "npm:" specifiers are matched against import map entries and if no match is found they are passed through.
12 lines
630 B
Text
12 lines
630 B
Text
other [WILDCARD]other.ts false
|
|
main [WILDCARD]main.ts true
|
|
Resolving ./foo.js file:///[WILDCARD]/foo.js
|
|
Resolving bare from import map https://example.com/
|
|
Resolving https://example.com/rewrite from import map https://example.com/rewritten
|
|
Resolving without a value from import map https://example.com/PASS-undefined
|
|
Resolving 1 from import map https://example.com/PASS-1
|
|
Resolving null from import map https://example.com/PASS-null
|
|
Resolving object from import map https://example.com/PASS-object
|
|
Resolving npm:cowsay npm:cowsay
|
|
Resolving npm:cowsay@1 npm:cowsay@1
|
|
Resolving npm:preact from import map https://example.com/preact
|