Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Steal different files for dev mode and build (prod)

$
0
0
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.
  1. var target = dev_mode?"intranet.mycompany.com":"public.mycompany.com";
Currently I have my own variable I switch manually before any build process.

Viewing all articles
Browse latest Browse all 3491

Trending Articles