What does the firebase client need to upload the firebase functions? All I can identify is that it takes my files from my lib
directory, does something to them, and then uploads everything. Does it take my dependencies also? How does this work?
The reason I'm asking is that I'm trying to use firebase functions with kotlin-js. Kotlin-js natively integrates with webpack, and can integrate with npm dependencies. I can give firebase a single file with all dependencies integrated, but it doesn't seem like firebase is uploading dependencies. It seems like maybe the package.json is being sent up or something.
If I compile to kotlin-js, what portions of my code/dependencies should I put in my lib folder to be uploaded?