Options object for resolving requests.
Redirect module requests.
Fields in the description file (usually package.json) which are used to redirect requests inside the module.
{ [index: string]: ResolveOptions }Extra resolve options per dependency category. Typical categories are "commonjs", "amd", "esm".
booleanEnable caching of successfully resolved requests (cache entries are revalidated).
resolveOptions.cachePredicate(request): boolean
ResolveRequestbooleanPredicate function to decide which requests should be cached.
booleanInclude the context information in the cache identifier when caching.
string[]Condition names for exports field entry point.
string[]Filenames used to find a description file (like a package.json).
booleanEnforce the resolver to use one of the extensions from the extensions option (User must specify requests without extension).
string[]Field names from the description file (usually package.json) which are used to provide entry points of a package.
An object which maps extension to extension aliases.
string[]Extensions added to the request when trying to find the file.
Redirect module requests when normal resolving fails.
InputFileSystemFilesystem for the resolver.
booleanTreats the request specified by the user as fully specified, meaning no extensions are added and the mainFiles in directories are not resolved (This doesn't affect requests from mainFields, aliasFields or aliases).
string[]Field names from the description file (usually package.json) which are used to provide internal request of a package (requests starting with # are considered as internal).
Field names from the description file (package.json) which are used to find the default entry point.
string[]Filenames used to find the default entry point if there is no description file or main field.
string[]Folder names or directory paths where to find modules.
Plugins for the resolver.
booleanPrefer to resolve server-relative URLs (starting with '/') as absolute paths before falling back to resolve in 'resolve.roots'.
booleanPrefer to resolve module requests as relative request and fallback to resolving as module.
ResolverCustom resolver.
A list of resolve restrictions. Resolve results must fulfill all of these restrictions to resolve successfully. Other resolve paths are taken when restrictions are not met.
string[]A list of directories in which requests that are server-relative URLs (starting with '/') are resolved.
booleanEnable resolving symlinks to the original location.
TypeScript config for paths mapping. Can be false (disabled), true (use default tsconfig.json), a string path to tsconfig.json, or an object with configFile and references options.
stringA path to the tsconfig file.
stringReferences to other tsconfig files. 'auto' inherits from TypeScript config, or an array of relative/absolute paths.
Enable caching of successfully resolved requests (cache entries are not revalidated).
booleanUse synchronous filesystem calls for the resolver.