From d1c284a3da901f9e06167fb30ba14480372927b5 Mon Sep 17 00:00:00 2001 From: Pawel Kozlowski Date: Tue, 1 Dec 2015 11:31:02 +0100 Subject: [PATCH] chore(bundles): use angular2/core in bundles arithmetic --- gulpfile.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 301e5543b0..b745570e31 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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) ]); });