ng deploy ignores --configuration option and runs always with production configuration (angular ssr)
- 主要语言
- TypeScript
- 星标
- 7.8k
- 派生
- 2.2k
- 平均合并
- 22 小时 28 分钟
- 30 天内合并 PR
- 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:
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?
### Expected behavior
ng deploy --configuration=development should build app with proper configuration
贡献指南
评估
这个 Issue 还没有评估数据。