I have setup two services (frontend & backend) for an app on the app platform. Both services share some common dependencies, so I’m using yarn workspaces and yarn for installing dependencies.
Each service has
/ configured as source directory, as outlined in the documentation.
Hence when deploying the app,
yarn install is ran for each service, which seems redundant. Is it possible to have the installation run only once and have each service share that context?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!