Skip to content

Commit

Permalink
Merge pull request #7 from ymaheshwari1/firebase-support
Browse files Browse the repository at this point in the history
Implemented: configuration files for firebase
  • Loading branch information
ymaheshwari1 authored Nov 16, 2023
2 parents 9f6d08b + 1a82acc commit d4636ad
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
}
}
43 changes: 43 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -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"
} ]
}
]
}

0 comments on commit d4636ad

Please sign in to comment.