Skip to content

Commit

Permalink
Add functions entry in firebase.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ijemmao authored Mar 1, 2024
1 parent d2c503e commit 0dc4c88
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/**"],
Expand Down

0 comments on commit 0dc4c88

Please sign in to comment.