Why are some of my workspaces linked to dist and some to the actual workspace? #8750
Answered
by
charlesritchea
charlesritchea
asked this question in
Q&A
-
The only connection I could make is that if the package.json has "type": "module" then it gets linked to the actual workspace, but if there is no "type" then it gets linked to dist. This has been inconsistent and I can't figure out what setting controls this. I'm transitioning a lerna monorepo from yarn to pnpm and this is the only blocker |
Beta Was this translation helpful? Give feedback.
Answered by
charlesritchea
Nov 12, 2024
Replies: 1 comment
-
🤦 it's because I had |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
charlesritchea
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
🤦 it's because I had
packages/**
instead ofpackages/*
in my pnpm-workspaces.yaml