Module resolve

Source

Modules§

node
options
origin
parse
pattern
plugin

Structs§

AliasMap
A map of AliasPatterns to the [Template]s they resolve to.
AliasMapIntoIter
An owning iterator over the entries of an AliasMap.
AliasMapLookupIterator
An iterator over the aliases that match a request.
ModuleResolveResult
ModuleResolveResultBuilder
RequestKey
Represents the key for a request that leads to a certain results during resolving.
ResolveAliasMap
Content of an “alias” configuration
ResolveResult
ResolveResultBuilder
ResolveResultOption
This is a transparent value type wrapping Option<ResolvedVc<ResolveResult>>.

Enums§

AliasMatch
Result of a lookup in the alias map.
AliasPattern
An alias pattern.
ExternalTraced
ExternalType
FindContextFileResult
ModulePart
ModulePart represents a part of a module.
ModuleResolveResultItem
ResolveResultItem
SubpathValue
The result an “exports”/“imports” field describes. Can represent multiple alternatives, conditional result, ignored result (null mapping) and a plain result.

Traits§

AliasTemplate
A trait for types that can be used as a template for an alias.

Functions§

find_context_file
find_context_file_or_package_key
handle_resolve_error
handle_resolve_source_error
package_json
resolve
resolve_inline
resolve_raw
url_resolve