Getting Multiple Entry Points to Work in pnpm workspace #1074
Unanswered
thedanchez
asked this question in
Q&A
Replies: 1 comment
-
Hey @thedanchez 👋 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a question on generating multiple entry points for my library using
tsup
as I'm having trouble getting them to work. My intent is to have the following type of importsTo achieve this, I am doing the following in my
tsup.config.ts
And in my
package.json
I have the followingexports
configuration:This is all done inside of a
pnpm
monorepo workspace where each package establishes their dependency via use ofworkspace:^
. Despite the above configuration, I cannot get the second entry point"@org/myLib/subModule"
to be recognized no matter what I do. It appears I must be misunderstanding something with regards to properly setting this up. Can someone please help me resolve this?Beta Was this translation helpful? Give feedback.
All reactions