mirror of
https://github.com/systemjs/systemjs.git
synced 2026-01-18 14:53:14 +00:00
ensure defaultJSExtensions config applies first
This commit is contained in:
parent
ce1c89ac30
commit
b08abf1a2c
@ -137,6 +137,9 @@ SystemJSLoader.prototype.config = function(cfg) {
|
||||
getBaseURLObj.call(this);
|
||||
}
|
||||
|
||||
if (cfg.defaultJSExtensions)
|
||||
this.defaultJSExtensions = cfg.defaultJSExtensions;
|
||||
|
||||
if (cfg.paths) {
|
||||
for (var p in cfg.paths)
|
||||
this.paths[p] = cfg.paths[p];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user