The way it seems Google Cloud Functions works is by:
functions
directoryfunctions
directory t
I'm using modofun (https://modofun.js.org), which is a router for multiple operations based on the request path. This allows me to gather related functions into a module that's deployed as a single Google Cloud Function. The dependencies for all functions in that module are the same, so that makes it dependency-efficient. And you can also share common global resources, like database connections.
I agree that deploying every single function on its own is a waste of resources, and it's very hard to maintain.
I did this for a Google Cloud Functions deployment I have in production.