It looks like you\'re using the development build of the Firebase JS SDK. When deploying Firebase apps to production, it is advisable to only import the individual SDK c
The details given here are not super easy to understand:
step 1: Remove below line, because it's development build:
step 2: Add below line, (required), production build:
step 3: Add any more packages/sevices you need, like database, (optional), production build:
This solved the issue.