Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ionic 2 dev and prod environment variables

I am working on Ionic 2 project and I want to configure it for a different environment like Development and Production. But, I have no idea where to put config files in ionic 2. Are there any ways to put config file and run commands

like

ionic build android --prod

and

ionic build android --dev
like image 530
Ajantha Bandara Avatar asked Dec 02 '16 03:12

Ajantha Bandara


1 Answers

There seems to be a ticket for that already:

https://github.com/driftyco/ionic-cli/issues/1205

like image 151
Victor Ramos Avatar answered Oct 18 '22 17:10

Victor Ramos