chore(bundles): use angular2/core in bundles arithmetic

This commit is contained in:
Pawel Kozlowski 2015-12-01 11:31:02 +01:00 committed by Jeremy Elbourn
parent 442d6866da
commit d1c284a3da
1 changed files with 8 additions and 8 deletions

View File

@ -974,10 +974,10 @@ gulp.task('!bundle.js.prod', ['build.js.prod'], function() {
bundlerConfig)
.then(function() {
return Promise.all([
bundler.bundle(bundleConfig, 'angular2/http - angular2/angular2', './dist/build/http.js',
bundler.bundle(bundleConfig, 'angular2/http - angular2/core', './dist/build/http.js',
bundlerConfig),
bundler.bundle(bundleConfig, 'angular2/router - angular2/angular2',
'./dist/build/router.js', bundlerConfig)
bundler.bundle(bundleConfig, 'angular2/router - angular2/core', './dist/build/router.js',
bundlerConfig)
]);
});
});
@ -991,9 +991,9 @@ gulp.task('!bundle.js.min', ['build.js.prod'], function() {
bundlerConfig)
.then(function() {
return Promise.all([
bundler.bundle(bundleConfig, 'angular2/http - angular2/angular2',
'./dist/build/http.min.js', bundlerConfig),
bundler.bundle(bundleConfig, 'angular2/router - angular2/angular2',
bundler.bundle(bundleConfig, 'angular2/http - angular2/core', './dist/build/http.min.js',
bundlerConfig),
bundler.bundle(bundleConfig, 'angular2/router - angular2/core',
'./dist/build/router.min.js', bundlerConfig)
]);
});
@ -1011,9 +1011,9 @@ gulp.task('!bundle.js.dev', ['build.js.dev'], function() {
bundlerConfig)
.then(function() {
return Promise.all([
bundler.bundle(devBundleConfig, 'angular2/http - angular2/angular2',
bundler.bundle(devBundleConfig, 'angular2/http - angular2/core',
'./dist/build/http.dev.js', bundlerConfig),
bundler.bundle(bundleConfig, 'angular2/router - angular2/angular2',
bundler.bundle(bundleConfig, 'angular2/router - angular2/core',
'./dist/build/router.dev.js', bundlerConfig)
]);
});