-
Hey folks,I was wondering what is preferred way to deal with workspaces that rely on peerDependencies. Say we have a project - Now the problem arises that after linking step, within Module bundlers allow us to exclude such peerDependencies that happened to became devDependencies out of necessity, however, since package still contains all node_modules at runtime More Context
Ideal caseIdeally |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
For the future people that may or may not stumble upon this discussion - try to move to PnP mode, my initial assumptions have been incorrect, yarn already knows how to resolve your dependencies correctly and you shouldn't run into cases like mentioned above. |
Beta Was this translation helpful? Give feedback.
For the future people that may or may not stumble upon this discussion - try to move to PnP mode, my initial assumptions have been incorrect, yarn already knows how to resolve your dependencies correctly and you shouldn't run into cases like mentioned above.