I’m using the map
property in my dojoConfig (with no baseUrl
explicitly set), like this:
map: {
'some/module': {
'src/foo.js': 'baz/bar.js'
}
},
But I’d like to load bar.js
by an absolute path instead, like https://some-host.com/bar.js
. I tried this:
map: {
'some/module': {
'src/foo.js': 'https://some-host.com/bar.js'
}
},
But that gives me http://path-to-my-site.com/https:/some-host.com/bar.js
.
I haven’t been able to figure out how to load a module via its absolute path using the map
config object. Any ideas?