packageConfigPaths depends on baseURL

This commit is contained in:
guybedford 2015-10-09 13:06:52 +02:00
parent a77fdb9c1c
commit d37d736f92

View File

@ -174,7 +174,7 @@ SystemJSLoader.prototype.config = function(cfg) {
for (var p in obj)
return true;
}
if (checkHasConfig(this.packages) || checkHasConfig(this.meta) || checkHasConfig(this.depCache) || checkHasConfig(this.bundles))
if (checkHasConfig(this.packages) || checkHasConfig(this.meta) || checkHasConfig(this.depCache) || checkHasConfig(this.bundles) || checkHasConfig(this.packageConfigPaths))
throw new TypeError('baseURL should only be configured once and must be configured first.');
this.baseURL = cfg.baseURL;