我在我的角度项目中使用了Firebase。 每当我运行我的应用程序时,我都会在控制台上看到以下消息。
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 components you intend to use.
For the CDN builds, these are available in the following manner
(replace <PACKAGE> with the name of a component - i.e. auth, database, etc):
https://www.gstatic.com/firebasejs/5.0.0/firebase-<PACKAGE>.js
(anonymous) @ index.cdn.ts:18
(anonymous) @ firebase.js:1
(anonymous) @ firebase.js:1
I am using firebase version : 5.9.0 and angular:6.0