-
I have a simple monorepo project with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
This is not possible to achieve because hoisting happens in the directory where the virtual store is located. And in a monorepo, there is a single virtual store at But you can hoist specific packages using |
Beta Was this translation helpful? Give feedback.
-
can hoist specific packages using public-hoist-pattern in one package in a workspace? |
Beta Was this translation helpful? Give feedback.
This is not possible to achieve because hoisting happens in the directory where the virtual store is located. And in a monorepo, there is a single virtual store at
<monorepo>/node_modules/.pnpm
. So you either have hoisting for all or for none.But you can hoist specific packages using
public-hoist-pattern