You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -404,7 +404,7 @@ You may not need the PWA bits in your app. Here's how you can remove them comple
404
404
1. Remove the `@angular/service-worker` dependency from the [`app/package.json`](./app/package.json) file.
405
405
- You'll need to run `pnpm install` in the top-level `app` folder to remove this dependency from your local `node_modules` folder and to update the `pnpm-lock.yaml` file.
406
406
407
-
### Removing Firebase services (like Functions)
407
+
### Removing Firebase services (like Functions and Storage)
408
408
409
409
You may not need all the Firebase services in your app, especially Firebase Functions which requires a paid plan.
410
410
@@ -416,13 +416,14 @@ Here's how to remove Firebase Functions from your app:
416
416
- Remove the entries for the functions, pubsub and eventarc emulators.
417
417
1. It's easier to just keep the `firebase/functions` and `firebase/common` folders as they are — they won't be used or deployed.
418
418
419
-
Here's how to remove a service like Firebase Storage from your app:
419
+
Here's how to remove a service like Firebase Storage from your app (similar steps are applicable to Firestore and Realtime Database):
420
420
421
-
1. Make sure you don't enable the Storage service in the Firebase Console (for the live project).
421
+
1. Make sure you don't enable the Storage service in the Firebase Console (when setting up your live project).
1. Delete the security rules file: [`firebase/storage.rules`](./firebase/storage.rules).
426
+
1. Delete the corresponding security rules test suite file: [`firebase/test/storage/storage-rules.spec.ts`](./firebase/test/storage/storage-rules.spec.ts).
426
427
1. Make sure you don't use the `injectStorage` helper function in the frontend app.
0 commit comments