Make all source code available in remote build
Tomáš Livora
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.
D
David Mitchell
App platform itself doesn't have this limitation, so why does the function remote build enforce this limitation? It makes no sense. Can someone from DO comment?