new PathResolver()
Creates an instance of PathResolver class.
- Source:
Methods
-
resolvePath(module, dependency) → {string}
-
Resolves the path of module.
Parameters:
Name Type Description modulestring Module path which will be used as reference to resolve the path of the dependency. dependencystring The dependency path, which have to be resolved. - Source:
Returns:
The resolved dependency path.- Type
- string