Allow/Enable configurations for ng deploy
commands
#17332
Labels
area: @angular/cli
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Milestone
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Probably not
Description
Not sure if this is a bug or a feature request.
Allow specifying a
--configuration='production'
forng deploy
commands.This should simply read from the corresponding configuration and apply those settings on top of settings found in
options
under thedeploy
config.According to docs, this should work for other types of tasks such as build/serve/lint: https://angular.io/guide/cli-builder#target-configuration
🔬 Minimal Reproduction
This command works:
ng deploy myProject
This command does not work, even with correct configuration:
ng deploy myProject --configuration production
🔥 Exception or Error
🌍 Your Environment
Angular CLI 9
The text was updated successfully, but these errors were encountered: