From e14dcc416b463e5a9ae18ee83e7ed604dfd42eea Mon Sep 17 00:00:00 2001 From: lehcar09 Date: Wed, 24 Apr 2024 21:47:47 +0800 Subject: [PATCH] -In relation to firebase-tools 13.0.0 breaking change, Firebase CLI will only reserve functions directory when there is a functions configuration entry in firebase.json that does not specify the source directory. --- functions/firebase.json | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/functions/firebase.json b/functions/firebase.json index 0967ef424..1bee05ed6 100644 --- a/functions/firebase.json +++ b/functions/firebase.json @@ -1 +1,14 @@ -{} +{ + "functions": [ + { + "source": "functions", + "codebase": "default", + "ignore": [ + "node_modules", + ".git", + "firebase-debug.log", + "firebase-debug.*.log" + ] + } + ] +}