fullstrapp
Version:
Bootstrap a scalable full stack application with pre-configured: hosting, database, authentication, analytics, CI, CD, code templates, and issue templates.
15 lines (10 loc) • 293 B
text/typescript
import firebase from 'firebase/app'
import 'firebase/firestore'
// firebase config for Development
let firebaseConfig = {}
// firebase config for Production
if (process.env.NODE_ENV === 'production') {
firebaseConfig = {}
}
firebase.initializeApp(firebaseConfig)
export default firebase