• Resolve and normalize a composite path

    Returns

    the absolute resolved path without slash at the beginning

    Parameters

    • src: string

      the source path

    • Optional cwd: string

      the directory from the resolve should start to resolve

    Returns string