Description
[REQUIRED] Step 2: Describe your environment
- Operating System version: any
- Firebase SDK version: 5.11.0
- Library version: 5.11.0
- Firebase Product: auth (auth, database, storage, etc)
[REQUIRED] Step 3: Describe the problem
I recently migrated firebase-admin from version 4.x to 5.x and found a huge size increase in the modules that are installed: they are now around 100MB
In a serverless environment this at least slows down deployment time and increases function cold start time.
Note that I am using Firebase for authentication in a non-Google environment so I have to carry firebase-admin as production dependency while it might not be needed when running on GCloud.
Steps to reproduce:
Measure node_modules folder size with and without firebase-admin and make the difference: in my case firebase-admin adds 100MB to node_modules.
Feature Request:
Maybe the module can be split in atomic components: i.e: if I just need auth, I don't want to install database.
Post-install cleaning could also help.
Alternatively provide a run-only version without test tooling.
Thanks!