I want to use a separate domain as a JavaScript framework and it will create a base require config which I can augment from the app.
foo.example.com main
requirejs multiversion
TRY this
context: A name to give to a loading context. This allows require.js to load multiple versions of modules in a page, as long as each top-level require call specifies a unique context string. To use it correctly, see the Multiversion Support section.