您似乎正在使用Firebase JS SDK的开发版本。将Firebase应用程序部署到生产中时

时间:2019-03-18 03:57:29

标签: angular firebase firebase-realtime-database

我在我的角度项目中使用了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

0 个答案:

没有答案