Skip to content

Commit a587498

Browse files
committed
Address PR comments, tinker with script includes
1 parent df4078c commit a587498

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/firebase/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ you should use the
3939
We recommend only installing the features you need. The individually installable services are:
4040

4141
- `firebase-app` - The core `firebase` client (required).
42+
- `firebase-app-check` - Firebase App Check (optional).
4243
- `firebase-analytics` - Firebase Analytics (optional).
4344
- `firebase-auth` - Firebase Authentication (optional).
4445
- `firebase-database` - The Firebase Realtime Database (optional).
@@ -54,13 +55,12 @@ Include Firebase in your web application via `<script>` tags. Create a script ta
5455
first):
5556

5657
```html
58+
<!-- Always required. -->
5759
<script src="https://www.gstatic.com/firebasejs/${FIREBASE_VERSION}/firebase-app.js"></script>
60+
<!-- Include only the services you use, for example auth and database below. -->
5861
<script src="https://www.gstatic.com/firebasejs/${FIREBASE_VERSION}/firebase-auth.js"></script>
5962
<script src="https://www.gstatic.com/firebasejs/${FIREBASE_VERSION}/firebase-database.js"></script>
60-
<script src="https://www.gstatic.com/firebasejs/${FIREBASE_VERSION}/firebase-firestore.js"></script>
61-
<script src="https://www.gstatic.com/firebasejs/${FIREBASE_VERSION}/firebase-storage.js"></script>
62-
<script src="https://www.gstatic.com/firebasejs/${FIREBASE_VERSION}/firebase-messaging.js"></script>
63-
<script src="https://www.gstatic.com/firebasejs/${FIREBASE_VERSION}/firebase-functions.js"></script>
63+
<!-- See above list for names of the other services. -->
6464

6565
<script>
6666
var app = firebase.initializeApp({
@@ -117,7 +117,7 @@ import 'firebase/database';
117117

118118
Or if using `require()`:
119119

120-
_We recommend the `.default` import from `firebase/app` in order for
120+
_Use the `.default` import from `firebase/app` in order for
121121
typings to work correctly.
122122
See [release notes for 8.0.0](https://firebase.google.com/support/release-notes/js#version_800_-_october_26_2020)._
123123

0 commit comments

Comments
 (0)