Commit 8e63b3d3 authored by Filipe Silva's avatar Filipe Silva Committed by GitHub

chore: update packages (#138)

Fix #137
parent 49189f85
/**
* System configuration for Angular 2 apps
* System configuration for Angular 2 samples
* Adjust as necessary for your application needs.
*/
(function(global) {
......@@ -24,6 +24,7 @@
'common',
'compiler',
'core',
'forms',
'http',
'platform-browser',
'platform-browser-dynamic',
......@@ -42,11 +43,15 @@
packages['@angular/'+pkgName] = { main: '/bundles/' + pkgName + '.umd.js', defaultExtension: 'js' };
}
// Most environments should use UMD; some (Karma) need the individual index files
var setPackageConfig = System.packageWithIndex ? packIndex : packUmd;
// Add package entries for angular packages
ngPackageNames.forEach(setPackageConfig);
// No umd for router yet
packages['@angular/router'] = { main: 'index.js', defaultExtension: 'js' };
var config = {
map: map,
packages: packages
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment