How to define shared library packages between apps #4710
Unanswered
tunahan-guler
asked this question in
Q&A
Replies: 1 comment
-
A common practice is to create a new package in the monorepo and reference this package in the app through pnpm's workspace protocol.
/packages
/app1
/app2
/lib1
/lib2
{
"dependencies": {
"lib1": "workspace:*"
}
} |
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
-
How will I define that the common packages used by the main application and the sub-application are shared packages?
Beta Was this translation helpful? Give feedback.
All reactions