diff --git a/firebase.json b/firebase.json index 03829c71..4caf18e7 100644 --- a/firebase.json +++ b/firebase.json @@ -3,6 +3,20 @@ "rules": "firestore.rules", "indexes": "firestore.indexes.json" }, + "functions": [ + { + "source": "functions", + "ignore": [ + "node_modules", + ".git", + "firebase-debug.log", + "firebase-debug.*.log" + ], + "predeploy": [ + "npm --prefix \"$RESOURCE_DIR\" run build" + ] + } + ], "hosting": { "public": "public", "ignore": ["firebase.json", "**/.*", "**/node_modules/**"],