summaryrefslogtreecommitdiff
path: root/ext/web/08_text_encoding.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-10-28 10:11:38 +0200
committerGitHub <noreply@github.com>2021-10-28 10:11:38 +0200
commitf77c5701f774b5f0ba548fb1e0eb53dfd304f440 (patch)
treeeb243ccce5516a8e2ed90484b94cb81b0f67ad1a /ext/web/08_text_encoding.js
parenta065604155991dbf4417b606d4562d275cd8955f (diff)
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
Diffstat (limited to 'ext/web/08_text_encoding.js')
0 files changed, 0 insertions, 0 deletions