This website requires JavaScript.
Explore
Help
Sign in
foster
/
denoland-deno
Watch
1
Star
0
Fork
You've already forked denoland-deno
0
mirror of
https://github.com/denoland/deno.git
synced
2024-11-22 15:06:54 -05:00
Code
Issues
Packages
1
Wiki
Activity
b98afb59ae
denoland-deno
/
cli
/
tests
/
testdata
/
compat
/
import_map.json
6 lines
68 B
JSON
Raw
Normal View
History
Unescape
Escape
feat(compat): integrate import map and classic resolutions in ESM resolution (#12549) This commit integrates import map and "classic" resolutions in the "--compat" mode when using ES modules; in effect "http:", "https:" and "blob:" imports now work in compat mode. The algorithm works as follows: 1. If there's an import map, try to resolve using it and if succeeded return the specifier 2. Try to resolve using "Node ESM resolution", and if succeeded return the specifier 3. Fall back to regular ESM resolution
2021-10-28 04:11:38 -04:00
{
"imports"
:
{
chore: forward v1.18.2 to main (#13595)
2022-02-04 15:44:38 -05:00
"std/"
:
"https://deno.land/std@0.125.0/"
feat(compat): integrate import map and classic resolutions in ESM resolution (#12549) This commit integrates import map and "classic" resolutions in the "--compat" mode when using ES modules; in effect "http:", "https:" and "blob:" imports now work in compat mode. The algorithm works as follows: 1. If there's an import map, try to resolve using it and if succeeded return the specifier 2. Try to resolve using "Node ESM resolution", and if succeeded return the specifier 3. Fall back to regular ESM resolution
2021-10-28 04:11:38 -04:00
}
}
Copy permalink