Skip to content

Commit

Permalink
Performance Monitoring codelab JS SDK v9 update
Browse files Browse the repository at this point in the history
  • Loading branch information
ulukaya committed Sep 20, 2021
1 parent 1bb39a6 commit d0e18cf
Show file tree
Hide file tree
Showing 19 changed files with 5,956 additions and 845 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ firebase-debug.log
*/node_modules/**
web/public/**/*.js
web-start/public/**/*.js
performance-monitoring/public/**/*.js
performance-monitoring-start/public/**/*.js
1,908 changes: 1,908 additions & 0 deletions performance-monitoring-start/package-lock.json

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions performance-monitoring-start/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "performance-monitoring-start",
"version": "1.0.0",
"description": "This folder contains the starting code for the [Firebase Performance Monitoring for Web Codelab](https://codelabs.developers.google.com/codelabs/firebase-perf-mon-web/).",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"firebase": "^9.0.2"
},
"devDependencies": {
"webpack": "^5.53.0",
"webpack-cli": "^4.8.0"
}
}
227 changes: 219 additions & 8 deletions performance-monitoring-start/public/firebase-messaging-sw.js

Large diffs are not rendered by default.

16 changes: 2 additions & 14 deletions performance-monitoring-start/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,19 +113,7 @@ <h3><i class="material-icons">chat_bubble_outline</i> Friendly Chat</h3>
</main>
</div>

<!-- Import and configure the Firebase SDK -->
<!-- These scripts are made available when the app is served or deployed on Firebase Hosting -->
<!-- If you do not want to serve/host your project using Firebase Hosting see https://firebase.google.com/docs/web/setup -->
<script src="/__/firebase/8.6.7/firebase-app.js"></script>
<script src="/__/firebase/8.6.7/firebase-auth.js"></script>
<script src="/__/firebase/8.6.7/firebase-storage.js"></script>
<script src="/__/firebase/8.6.7/firebase-messaging.js"></script>
<script src="/__/firebase/8.6.7/firebase-firestore.js"></script>

<!-- TODO: Import the Firebase Performance Monitoring library here. -->

<script src="/__/firebase/init.js"></script>

<script src="scripts/main.js"></script>
<!-- This script is created by webpack -->
<script type="module" src="scripts/main.js"></script>
</body>
</html>
Loading

0 comments on commit d0e18cf

Please sign in to comment.