Skip to content

Custom environments flags not working #7920

@AnthonyGiretti

Description

@AnthonyGiretti

I'm using Angular-cli 1.4.4, and i'm unable to use environments properly

I have this :
"environments": {
"dev": "environments/environment.ts",
"prod": "environments/environment.prod.ts",
"qa": "environments/environment.qa.ts"
}

When I build with my qa environment it uses prod configuration
I ran this: ng build --env=qa

Metadata

Metadata

Assignees

Labels

P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulseverity5: regression

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions