Reputation: 2559
In my project I create several Cloud Functions. Some files are not even related to one another. Such as Readme file.
But somehow in EVERY Cloud Function all files are included.
Thank you
Upvotes: 0
Views: 120
Reputation: 317467
If you're referring to functions deployed by the Firebase CLI, everything in the functions folder (except node_modules) is deployed to the server container built for each function. It's not trying to be smart about figuring out which files go where - it simply bundles up the entire thing.
Upvotes: 1