I think this might be a good candidate for a small external library - figure out if we're running on Node, or in-browser and either require('http') or use XHR. I like the idea of using this feature to nail down the approach to runtime platform checks and setting up parallel builds.
I think this might be a good candidate for a small external library - figure out if we're running on Node, or in-browser and either
require('http')
or use XHR. I like the idea of using this feature to nail down the approach to runtime platform checks and setting up parallel builds.