You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2020. It is now read-only.
I would like to have 'ionic [serve|emulate|run|build|etc]' all respect environment variables so that I can change how my app behaves accordingly.
I've seen a lot of posts that access the current runtime env by 'process.env.VAR_NAME' but it's unclear if that's supported inside ionic's webpack process.
Thanks!
The text was updated successfully, but these errors were encountered:
This is a bit of a gap in our process right now that we will resolve in the coming months. For now, please use webpack or rollup's plugin for environment variables. You may also need to add node typings to your Ionic project.
Lets track this here. Please weigh in with your thoughts. BTW, I think I misunderstood you. Yes, we use process.env.SOME_IONIC_VARIABLE liberally in the build process.
I would like to have 'ionic [serve|emulate|run|build|etc]' all respect environment variables so that I can change how my app behaves accordingly.
I've seen a lot of posts that access the current runtime env by 'process.env.VAR_NAME' but it's unclear if that's supported inside ionic's webpack process.
Thanks!
The text was updated successfully, but these errors were encountered: