• Returns the relative path from one path to another.

    Parameters

    • from: string

      Path to resolve from.

    • to: string

      Path to resolve to.

    Returns string

    Relative path.