resolve-import
    Preparing search index...
    • Given an exports or imports value from a package, return the list of all possible conditional values that it might potentially resolve to, for any possible set of import conditions, along with the Set<string> of conditions, any superset of which will result in the condition.

      The list includes null results, since while these are not a valid resolution per se, they do prevent valid resolutions that match the same conditions.

      Parameters

      Returns ConditionalValuesList