We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80052a0 commit e792eafCopy full SHA for e792eaf
packages/plugin-pnpm/sources/PnpmLinker.ts
@@ -315,8 +315,9 @@ function getStoreLocation(project: Project) {
315
function getPackagePaths(locator: Locator, {project}: {project: Project}) {
316
const pkgKey = structUtils.slugifyLocator(locator);
317
const storeLocation = getStoreLocation(project);
318
+ const pkgPath = structUtils.stringifyIdent(locator) as PortablePath;
319
- const packageLocation = ppath.join(storeLocation, pkgKey, `package`);
320
+ const packageLocation = ppath.join(storeLocation, pkgKey, pkgPath);
321
const dependenciesLocation = ppath.join(storeLocation, pkgKey, Filename.nodeModules);
322
323
return {packageLocation, dependenciesLocation};
0 commit comments