• Resolve full path of a plugin that's the dependency of another npm package

    Parameters

    • depPkg: string | string[]

      pkg that depends on the plugin

    • pluginName: string

      name of plugin to look for

    Returns string

    full path to a plugin as dep of another package