Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prod environment file not use when I build with --aot flag #4375

Closed
JanickRoss opened this issue Feb 2, 2017 · 2 comments · Fixed by #4475
Closed

prod environment file not use when I build with --aot flag #4375

JanickRoss opened this issue Feb 2, 2017 · 2 comments · Fixed by #4475

Comments

@JanickRoss
Copy link

when I buil with this command : ng build --target=production --environment=prod --aot

The environment file used is not the environment.prod.ts file but the environment.ts

The problem is just when I put the --aot flag

@Meligy
Copy link
Contributor

Meligy commented Feb 2, 2017

Please use the issue template when submitting this, there are some missing pieces like CLI version etc.

hansl added a commit to hansl/angular-cli that referenced this issue Feb 7, 2017
hansl added a commit to hansl/angular-cli that referenced this issue Feb 7, 2017
hansl added a commit to hansl/angular-cli that referenced this issue Feb 7, 2017
hansl added a commit to hansl/angular-cli that referenced this issue Feb 7, 2017
hansl added a commit to hansl/angular-cli that referenced this issue Feb 7, 2017
MRHarrison pushed a commit to MRHarrison/angular-cli that referenced this issue Feb 9, 2017
asnowwolf pushed a commit to asnowwolf/angular-cli that referenced this issue Apr 12, 2017
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants