-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Description
angularfire/src/schematics/deploy/builder.ts
Lines 32 to 34 in 72d3c2e
if (firebaseHostingSite !== defulatFirebaseHostingSite) { | |
throw new Error('The Firebase Hosting Site specified by your angular.json or .firebaserc is in conflict'); | |
} |
The above piece of code prevents me from applying different configurations, so that I could invoke ng deploy -c="development"
.
My angular.json
config looks like this:
// angular.json
"deploy": {
"builder": "@angular/fire:deploy",
"options": {
"prerender": false,
"ssr": false,
"browserTarget": "client:build:production",
"firebaseProject": "my-project"
},
"configurations": {
"production": {
"firebaseHostingSite": "my-project-prod-version"
},
"development": {
"firebaseHostingSite": "my-project-dev-version"
}
}
}
What was the reason to use only the default hosting site and throw error when I want make some changes?
jzgoda-mppd, jeroenkroese and markxp
Metadata
Metadata
Assignees
Labels
No labels