steal
steal copied to clipboard
Make System.envs match platform, environment, or {platform}-{environment}
System.envs requires both a platform & an environment. This means that configuration needs to be redundantly defined for each combination of platform/environment.
It would simplify configuration to be able to simply target "window" / "server".
http://stealjs.com/docs/System.envs.html
Very verbose currently, I'm not a fan of how it works, would like something better, for sure. This is not a bad idea, but I'm wondering if completely rethinking env is a better idea. I'm just not sure what that would be.