I am bumping this, because I have a similiar question.
Does steal know if it is in production or development mode?
In my case it would be usefull to specify Postmessage targets.
- var target = dev_mode?"intranet.mycompany.com":"public.mycompany.com";
Currently I have my own variable I switch manually before any build process.