Skip to main content

try_resolve_pnpm_path

Function try_resolve_pnpm_path 

Source
fn try_resolve_pnpm_path(resolved_path: &Path) -> PathBuf
Expand description

Tries to find the corresponding pnpm path for a resolved node_modules path. pnpm stores packages in node_modules/.pnpm/@/node_modules/ This function checks if such a path exists and returns it if found.