Mobile-config.js settings based on env variables

I’m trying to do the following in my mobile-config.js

if (process.env.DEPLOY_TYPE === 'prod') {
  App.icons({ iphone: 'prod.png'})
} else {
  App.icons({ iphone: 'staging.png'})
}

however when I run DEPLOY_TYPE=prod meteor build . --server="blah" I don’t see this condition based on the env var, any thoughts if what I am trying to do is possible? Or even if I should try and accomplish my goals another way?

Use this.process.env

1 Like