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" + } ] + } + ] +}