ionic-environment-variables
ionic-environment-variables copied to clipboard
When I build with params MY_ENV=dev and --prod, ionic builds with the prod environment.
Command MY_ENV=dev ionic cordova run android --device --prod
I need to build with AOT in the dev environment.
@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.
@writer0713, not yet.
@ildarnm I've made a solution. You can see my repo.