mirror of
https://github.com/systemjs/systemjs.git
synced 2026-01-25 14:57:38 +00:00
packageConfigPaths depends on baseURL
This commit is contained in:
parent
a77fdb9c1c
commit
d37d736f92
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user