angular / angular/angularfire

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

オープン
#3,376 コメント 15 件 リアクション 0 件 担当者 1 名 @davideast が担当を希望しています GitHub で見る
主要言語
TypeScript
スター
7.8k
フォーク
2.2k
平均マージ
22時間 28分
マージ済み PR(30日)
6

説明

### 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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。