angular / angular/angularfire

ng deploy ignores --configuration option and runs always with production configuration (angular ssr)

Ouverte
#3,376 15 commentaires 0 réactions 1 personne assignée Réclamée par @davideast Voir sur GitHub
Langage dominant
TypeScript
Étoiles
7.8k
Forks
2.2k
Merge moyen
22 h 28 min
PR mergées (30 j)
6

Description

### Version info

**Angular: 16.0.0**

**AngularFire: 7.6.1**

**Firebase-tools: 12.3.0**

### How to reproduce these conditions

I'm trying to deploy Angular 16 SSR app with multiple configurations set in angular.json. It seems that command ng deploy --configuration=development ignores --configuration option and always runs production configuration.

Screen from my angular.json file:

image

image

When I change "production" configuration name to "prod" in angular.json and run ng deploy --configuration=development I get "Configuration 'production' is not set in the workspace." error. This indicates that ng deploy uses hardcoded "production" configuration?

image

### Expected behavior
ng deploy --configuration=development should build app with proper configuration

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.