How to stop the warning: It looks like you're using the development build of the Firebase JS SDK?

前端 未结 3 2087
旧时难觅i
旧时难觅i 2021-02-20 02:55
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         


        
3条回答
  •  遥遥无期
    2021-02-20 03:56

    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.

提交回复
热议问题