text: import firebase from 'firebase/app'
  import 'firebase/auth'
  
  const firebaseConfig = {
    apiKey: process.env.FIREBASE_API_KEY,
    authDomain: process.env.FIREBASE_AUTH_DOMAIN,
    databaseURL: process.env.FIREBASE_DATABASE_URL,
    projectId: process.env.FIREBASE_PROJECT_ID,
    storageBucket: process.env.FIREBASE_STORAGE_BUCKET,
    messagingSenderId: process.env.FIREBASE_MESSAGING_SENDER_ID,
    appId: process.env.FIREBASE_APP_ID,
    measurementId: process.env.FIREBASE_MEASUREMENT_ID,
  }
  
  export const emailAuthProvider = firebase.auth.EmailAuthProvider
  export const googleAuthProvider = new firebase.auth.GoogleAuthProvider()
  
  export default !firebase.apps.length
    ? firebase.initializeApp(firebaseConfig)
    : firebase.app()
  