From 1a82acc9aed5afd8db2bd1bcb5809b9fa84a6bd8 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Thu, 16 Nov 2023 11:41:06 +0530 Subject: [PATCH] Implemented: configuration files for firebase --- .firebaserc | 25 +++++++++++++++++++++++++ firebase.json | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 .firebaserc create mode 100644 firebase.json diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 00000000..56424d47 --- /dev/null +++ b/.firebaserc @@ -0,0 +1,25 @@ +{ + "projects": { + "default": "hotwax-digital-commerce", + "production": "digital-commerce-71eb8" + }, + "targets": { + "hotwax-digital-commerce": { + "hosting": { + "dev": [ + "dev-facilities" + ], + "uat": [ + "uat-facilities" + ] + } + }, + "digital-commerce-71eb8": { + "hosting": { + "prod": [ + "hotwax-facilities" + ] + } + } + } +} diff --git a/firebase.json b/firebase.json new file mode 100644 index 00000000..f7ed9652 --- /dev/null +++ b/firebase.json @@ -0,0 +1,43 @@ +{ + "hosting": [ + { + "target": "prod", + "public": "dist", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ], + "rewrites": [ { + "source": "**", + "destination": "/index.html" + } ] + }, + { + "target": "dev", + "public": "dist", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ], + "rewrites": [ { + "source": "**", + "destination": "/index.html" + } ] + }, + { + "target": "uat", + "public": "dist", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ], + "rewrites": [ { + "source": "**", + "destination": "/index.html" + } ] + } + ] +}