var loader = require("@loader");
var url = loader.serviceBaseURL + "/api/todos";
Should not throw. I think the way to approach this is that steal-tools can provide a shim module for @loader. It can then attach the envs configuration to that loader object so that if it looks like:
Modules that use slim loader like:
Should not throw. I think the way to approach this is that steal-tools can provide a shim module for
@loader
. It can then attach the envs configuration to that loader object so that if it looks like:The pseudo-code for the loader module would be: