fix: firebase imports to allow tree shaking
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import firebase from "firebase"
|
import firebase from "firebase/app"
|
||||||
|
import "firebase/analytics"
|
||||||
import { authEvents$ } from "./auth"
|
import { authEvents$ } from "./auth"
|
||||||
import {
|
import {
|
||||||
HoppAccentColor,
|
HoppAccentColor,
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
import firebase from "firebase"
|
import firebase from "firebase/app"
|
||||||
|
import "firebase/firestore"
|
||||||
|
import "firebase/auth"
|
||||||
import { BehaviorSubject, Subject } from "rxjs"
|
import { BehaviorSubject, Subject } from "rxjs"
|
||||||
|
|
||||||
export type HoppUser = firebase.User & {
|
export type HoppUser = firebase.User & {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import firebase from "firebase"
|
import firebase from "firebase/app"
|
||||||
|
import "firebase/firestore"
|
||||||
import { currentUser$ } from "./auth"
|
import { currentUser$ } from "./auth"
|
||||||
import {
|
import {
|
||||||
restCollections$,
|
restCollections$,
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import firebase from "firebase"
|
import firebase from "firebase/app"
|
||||||
|
import "firebase/firestore"
|
||||||
import { currentUser$ } from "./auth"
|
import { currentUser$ } from "./auth"
|
||||||
import {
|
import {
|
||||||
Environment,
|
Environment,
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import firebase from "firebase"
|
import firebase from "firebase/app"
|
||||||
|
import "firebase/firestore"
|
||||||
import { currentUser$ } from "./auth"
|
import { currentUser$ } from "./auth"
|
||||||
import { settingsStore } from "~/newstore/settings"
|
import { settingsStore } from "~/newstore/settings"
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import firebase from "firebase"
|
import firebase from "firebase/app"
|
||||||
import { initAnalytics } from "./analytics"
|
import { initAnalytics } from "./analytics"
|
||||||
import { initAuth } from "./auth"
|
import { initAuth } from "./auth"
|
||||||
import { initCollections } from "./collections"
|
import { initCollections } from "./collections"
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import firebase from "firebase"
|
import firebase from "firebase/app"
|
||||||
|
import "firebase/firestore"
|
||||||
import { currentUser$ } from "./auth"
|
import { currentUser$ } from "./auth"
|
||||||
import { applySetting, settingsStore, SettingsType } from "~/newstore/settings"
|
import { applySetting, settingsStore, SettingsType } from "~/newstore/settings"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user