Preview 2.0 is now in Public Beta!
Read the Announcement
Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
ModuleNameResolver

Summary ​

Constructors ​

constructor ​

new ModuleNameResolver(context: PlatformContext, moduleListProvider?: ModuleListProvider): ModuleNameResolver
Parameter Default Description
context

moduleListProvider

Methods ​

clearCache ​

clearCache(): void

resolveModuleName ​

resolveModuleName(path: string, ext: string): string
Parameter Default Description
path
string

ext
string

Returns string