Skip to content

How works node-linker=hoisted in PNPM workspace? #5779

Answered by zkochan
sleaper asked this question in Q&A
Discussion options

You must be logged in to vote

Everything is hoisted to the root node_modules of the workspace (which is the directory where you have the pnpm-workspace.yaml file). Unless different versions of the same dependency are present in multiple projects in the workspace. In that case one of the versions will be hoisted to the root of the workspace. The other ones will be hoisted just to the root of the project.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bvincent
Comment options

Answer selected by sleaper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants