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

When I build with params MY_ENV=dev and --prod, ionic builds with the prod environment. #29

Open
ildarnm opened this issue May 10, 2018 · 3 comments

Comments

@ildarnm
Copy link

ildarnm commented May 10, 2018

Command MY_ENV=dev ionic cordova run android --device --prod

I need to build with AOT in the dev environment.

@writer0713
Copy link

@ildarnm
have you found solution? I'm facing same issue.
without --prod option, custom env works fine.
if I add --prod option, it just works as prod mode.

@ildarnm
Copy link
Author

ildarnm commented May 14, 2018

@writer0713, not yet.

@writer0713
Copy link

@ildarnm
I've made a solution.
You can see my repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants