yarn devdev
This commit is contained in:
		
							parent
							
								
									2cb4321766
								
							
						
					
					
						commit
						375ce69b7d
					
				|  | @ -1,9 +1,7 @@ | ||||||
| import { getFirestore } from '@firebase/firestore' | import { getFirestore } from '@firebase/firestore' | ||||||
| import { initializeApp, getApps, getApp } from 'firebase/app' | import { initializeApp, getApps, getApp } from 'firebase/app' | ||||||
| 
 | 
 | ||||||
| // TODO: Reenable this when we have a way to set the Firebase db in dev
 | export const isProd = process.env.NEXT_PUBLIC_FIREBASE_ENV !== 'DEV' | ||||||
| // export const isProd = process.env.NODE_ENV === 'production'
 |  | ||||||
| export const isProd = true |  | ||||||
| 
 | 
 | ||||||
| const firebaseConfig = isProd | const firebaseConfig = isProd | ||||||
|   ? { |   ? { | ||||||
|  |  | ||||||
|  | @ -4,6 +4,7 @@ | ||||||
|   "private": true, |   "private": true, | ||||||
|   "scripts": { |   "scripts": { | ||||||
|     "dev": "concurrently -n NEXT,TS -c magenta,cyan \"next dev -p 3000\" \"yarn ts --watch\"", |     "dev": "concurrently -n NEXT,TS -c magenta,cyan \"next dev -p 3000\" \"yarn ts --watch\"", | ||||||
|  |     "devdev": "NEXT_PUBLIC_FIREBASE_ENV=DEV concurrently -n NEXT,TS -c magenta,cyan \"FIREBASE_ENV=DEV next dev -p 3000\" \"FIREBASE_ENV=DEV yarn ts --watch\"", | ||||||
|     "ts": "tsc --noEmit --incremental --preserveWatchOutput --pretty", |     "ts": "tsc --noEmit --incremental --preserveWatchOutput --pretty", | ||||||
|     "build": "next build", |     "build": "next build", | ||||||
|     "start": "next start", |     "start": "next start", | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user