Class: PathResolver

PathResolver

new PathResolver()

Creates an instance of PathResolver class.
Source:

Methods

resolvePath(module, dependency) → {string}

Resolves the path of module.
Parameters:
Name Type Description
module string Module path which will be used as reference to resolve the path of the dependency.
dependency string The dependency path, which have to be resolved.
Source:
Returns:
The resolved dependency path.
Type
string