apply descending-order sorting to the input export_map_entries
's alias keys. the sorting is necessary to produce the correct result.
however, if you have the entries pre-sorted, then there is no need for this, and you may set this option to false
to skip the sorting step.
ensure that the import/export-map's alias directories correspond to path directories as well.
the base directory, to which the import/export-map-aliases are relative to.
for instance:
{ "./aliased/path": "./src/mod.ts" }
,baseAliasDir
option is set to "jsr:@scope/lib@version/"
(a trailing slash will always be added, unless the original alias was exactly "."
or ""
).{ "jsr:@scope/lib@version/aliased/path": "./src/mod.ts" }
the base directory, to which the import/export-paths are relative to.
for instance:
{ "./aliased/path": "./src/mod.ts" }
,basePathDir
option is set to "https://jsr.io/@oazmi/kitchensink/0.9.3/"
(a trailing slash will always be added).{ "./aliased/path": "https://jsr.io/@oazmi/kitchensink/0.9.3/src/mod.ts" }
the configuration interface of the function resolvePathFromImportMapEntries.