diff --git a/firebase.json b/firebase.json index 4432eb7..4fc4f30 100644 --- a/firebase.json +++ b/firebase.json @@ -9,5 +9,22 @@ }, "dataconnect": { "source": "dataconnect" - } + }, + "functions": [ + { + "source": "functions", + "codebase": "default", + "disallowLegacyRuntimeConfig": true, + "ignore": [ + "node_modules", + ".git", + "firebase-debug.log", + "firebase-debug.*.log", + "*.local" + ], + "predeploy": [ + "npm --prefix \"$RESOURCE_DIR\" run build" + ] + } + ] }