parent
070cb5a193
commit
ffbdcd2b9c
|
@ -41,7 +41,7 @@
|
||||||
// Bundled (~40 requests):
|
// Bundled (~40 requests):
|
||||||
function packUmd(pkgName) {
|
function packUmd(pkgName) {
|
||||||
packages['@angular/'+pkgName] = { main: pkgName + '.umd.js', defaultExtension: 'js' };
|
packages['@angular/'+pkgName] = { main: pkgName + '.umd.js', defaultExtension: 'js' };
|
||||||
};
|
}
|
||||||
|
|
||||||
// Most environments should use UMD; some (Karma) need the individual index files
|
// Most environments should use UMD; some (Karma) need the individual index files
|
||||||
var setPackageConfig = System.packageWithIndex ? packIndex : packUmd;
|
var setPackageConfig = System.packageWithIndex ? packIndex : packUmd;
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
var config = {
|
var config = {
|
||||||
map: map,
|
map: map,
|
||||||
packages: packages
|
packages: packages
|
||||||
}
|
};
|
||||||
|
|
||||||
System.config(config);
|
System.config(config);
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
// Bundled (~40 requests):
|
// Bundled (~40 requests):
|
||||||
function packUmd(pkgName) {
|
function packUmd(pkgName) {
|
||||||
packages['@angular/'+pkgName] = { main: pkgName + '.umd.js', defaultExtension: 'js' };
|
packages['@angular/'+pkgName] = { main: pkgName + '.umd.js', defaultExtension: 'js' };
|
||||||
};
|
}
|
||||||
|
|
||||||
// Most environments should use UMD; some (Karma) need the individual index files
|
// Most environments should use UMD; some (Karma) need the individual index files
|
||||||
var setPackageConfig = System.packageWithIndex ? packIndex : packUmd;
|
var setPackageConfig = System.packageWithIndex ? packIndex : packUmd;
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
var config = {
|
var config = {
|
||||||
map: map,
|
map: map,
|
||||||
packages: packages
|
packages: packages
|
||||||
}
|
};
|
||||||
|
|
||||||
System.config(config);
|
System.config(config);
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
},
|
},
|
||||||
map: map,
|
map: map,
|
||||||
packages: packages
|
packages: packages
|
||||||
}
|
};
|
||||||
|
|
||||||
System.config(config);
|
System.config(config);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue