chore(bundles): use angular2/core in bundles arithmetic
This commit is contained in:
parent
442d6866da
commit
d1c284a3da
16
gulpfile.js
16
gulpfile.js
|
@ -974,10 +974,10 @@ gulp.task('!bundle.js.prod', ['build.js.prod'], function() {
|
||||||
bundlerConfig)
|
bundlerConfig)
|
||||||
.then(function() {
|
.then(function() {
|
||||||
return Promise.all([
|
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),
|
bundlerConfig),
|
||||||
bundler.bundle(bundleConfig, 'angular2/router - angular2/angular2',
|
bundler.bundle(bundleConfig, 'angular2/router - angular2/core', './dist/build/router.js',
|
||||||
'./dist/build/router.js', bundlerConfig)
|
bundlerConfig)
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -991,9 +991,9 @@ gulp.task('!bundle.js.min', ['build.js.prod'], function() {
|
||||||
bundlerConfig)
|
bundlerConfig)
|
||||||
.then(function() {
|
.then(function() {
|
||||||
return Promise.all([
|
return Promise.all([
|
||||||
bundler.bundle(bundleConfig, 'angular2/http - angular2/angular2',
|
bundler.bundle(bundleConfig, 'angular2/http - angular2/core', './dist/build/http.min.js',
|
||||||
'./dist/build/http.min.js', bundlerConfig),
|
bundlerConfig),
|
||||||
bundler.bundle(bundleConfig, 'angular2/router - angular2/angular2',
|
bundler.bundle(bundleConfig, 'angular2/router - angular2/core',
|
||||||
'./dist/build/router.min.js', bundlerConfig)
|
'./dist/build/router.min.js', bundlerConfig)
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
@ -1011,9 +1011,9 @@ gulp.task('!bundle.js.dev', ['build.js.dev'], function() {
|
||||||
bundlerConfig)
|
bundlerConfig)
|
||||||
.then(function() {
|
.then(function() {
|
||||||
return Promise.all([
|
return Promise.all([
|
||||||
bundler.bundle(devBundleConfig, 'angular2/http - angular2/angular2',
|
bundler.bundle(devBundleConfig, 'angular2/http - angular2/core',
|
||||||
'./dist/build/http.dev.js', bundlerConfig),
|
'./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)
|
'./dist/build/router.dev.js', bundlerConfig)
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue