From 2ae2b3c4697a6906b7fe8b77f991787fc9585abd Mon Sep 17 00:00:00 2001 From: Xevion Date: Wed, 18 May 2022 16:34:33 -0500 Subject: [PATCH] Add Cloud Functions & Hosting rewrite for hello-world --- firebase.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/firebase.json b/firebase.json index 340ed5b..b472169 100644 --- a/firebase.json +++ b/firebase.json @@ -10,7 +10,17 @@ { "source": "**", "destination": "/index.html" + }, + { + "source": "/hello-world/", + "function": "helloWorld" } ] + }, + "functions": { + "predeploy": [ + "npm --prefix \"$RESOURCE_DIR\" run lint", + "npm --prefix \"$RESOURCE_DIR\" run build" + ] } }