Commit e512c6e
Mat Brown
Use a la carte Firebase packages
Instead of pulling in the master Firebase package as a dependency, use a
la carte Firebase packages for the Firebase components that we actually
use—namely `@firebase/app` (the core), `@firebase/auth`, and
`@firebase/database`. Also add `@firebase/app-types` as a dependency to
satisfy the peer dependency of the aforementioned packages.
Just requires changing the imports in the `appFirebase` service to
target the individual packages, and everything seems to work just fine.1 parent 5893886 commit e512c6e
3 files changed
Lines changed: 29 additions & 280 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
149 | 153 | | |
150 | 154 | | |
151 | 155 | | |
| |||
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
160 | | - | |
161 | 164 | | |
162 | 165 | | |
163 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments