Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Ionic-app-scripts 3.2.0 environments does nor build for --prod

$
0
0

@kabens wrote:

ionic-app-scripts 3.2.0 introduced environments as seen here https://github.com/ionic-team/ionic-app-scripts#environments

I setup everything properly and when I build without the --prod flag it works perfectly by passing the variables defined within .env.dev into and throughout my app. However when I build with the --prod flag, none of my variables defined within .env.prod are passed. Instead all of the variables are just undefined. I searched high and low for an answer and have found nothing. Judging by some of the issues on GitHub other people have experienced the same problem and have not found a solution. I’m hoping someone here might be able to shed some light on this.

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>