no matter what i try in my webpack.config.js, when i try to access the process.env.IONIC_ENV variable from my app.component it’s always undefined. I tried to expose it with the webpack.EnviromentPlugin and the webpack.DefinePlugin. Neither of them worked. I tried to set the ENV Variables in the terminal with export but they are still not available in my code.
I use the latest ionic-app-scripts 3.1.2 with ionic-cli 3.19
What am i doing wrong or is there a bug in the app-scripts?