If you want to deploy your serverless functions to the App Platform, you need to use remote build. But it can only access
lib
and
packages
folders. This doesn't work well in monorepos where you want to share some code with your apps. In fact, functions in such monorepos cannot even be built since they rely on the root
package.json
and
node_modules
which are not available in remote build.
Remote build should either be able to access any file in a given repository or it should be possible to specify not only which runtime files are included in a function but also which build files are needed.