How to bundle workspace dependencies into pnpm publish
packed packages?
#8565
-
When we publish a package to a repository, workspace ( This prevents the published package from being installed as these packages are not published to a package repository, and cannot be pulled from a package manager. How do we get workspace package dependencies to bundle into published packages without it prompting package install to install private workspace packages? The docs here https://pnpm.io/workspaces#publishing-workspace-packages describe the behavior, but doesn't necessarily describe how to bundle workspace-only dependencies into published packages. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This can be done with |
Beta Was this translation helpful? Give feedback.
This can be done with
bundleDependencies
https://docs.npmjs.com/cli/v10/configuring-npm/package-json#bundledependencies