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" }
a general interface used for configuring the behavior of an import-map path-resolving function.
the base interface simply allows the user to define the base-directory of relative path-aliases and path-values.