Replies: 1 comment 2 replies
-
Ok I think I know why it doesn't work. Because based on docs I need to have a direct mapping over here. (Which makes sense) Otherwise I could make it buildable and have something like
So I would use the same export path like @repo/enums but compile it to JS instead. |
Beta Was this translation helpful? Give feedback.
-
Summary
Hello all,
As title says I am trying to make a non-buildable lib that will hold all of my enums, interfaces etc in separate libs all of them. These will be reused to my monorepo for nestjs and angular 19 separately.
Now my question is, will this work or shall i mark them buildable like the rest of my libs?
This is my package json of my enums
This is my
src/index.ts
This is my
client/index.ts
And this is my enum
On the other side of my nestjs app I am just using it as console.log
Will this work or it must be buildable? Currently I get this error
Thanks a lot
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions