lib0 0.2.100 → 0.2.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,7 +24,7 @@ const scopes = {}
24
24
  const extractModMap = (v, k, pkgName, pathPrefix, importMap) => {
25
25
  if (k[0] !== '.') return
26
26
  if (typeof v === 'object') {
27
- extractModMap(v.browser || v.module || v.default || v.import, k, pkgName, pathPrefix, importMap)
27
+ extractModMap(v.browser || v.import || v.module || v.default, k, pkgName, pathPrefix, importMap)
28
28
  } else if (v && v[0] === '.') {
29
29
  importMap[pkgName + k.slice(1)] = pathPrefix + v.slice(1)
30
30
  }