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 d63d411 commit d8c43bbCopy full SHA for d8c43bb
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 pkgSlug = structUtils.slugifyIdent(locator) as Filename;
319
- const packageLocation = ppath.join(storeLocation, pkgKey, `package`);
320
+ const packageLocation = ppath.join(storeLocation, pkgKey, pkgSlug);
321
const dependenciesLocation = ppath.join(storeLocation, pkgKey, Filename.nodeModules);
322
323
return {packageLocation, dependenciesLocation};
0 commit comments