chore(bundles): unify padding with dependencies

This commit is contained in:
Pawel Kozlowski 2015-11-02 15:33:16 +01:00
parent 9220b0bbc1
commit 2f047887d3
1 changed files with 4 additions and 10 deletions

View File

@ -1065,11 +1065,8 @@ gulp.task('!bundle.js.sfx.dev', ['build.js.dev'], function() {
});
gulp.task('!bundle.js.prod.deps', ['!bundle.js.prod'], function() {
return merge2(bundler.modify(
['node_modules/zone.js/dist/zone-microtask.js', 'node_modules/reflect-metadata/Reflect.js',
'dist/build/angular2.js'],
'angular2.js'
),
return merge2(
addDevDependencies('angular2.min.js'),
bundler.modify(
['node_modules/reflect-metadata/Reflect.js', 'dist/build/http.js'],
'http.js'
@ -1077,11 +1074,8 @@ gulp.task('!bundle.js.prod.deps', ['!bundle.js.prod'], function() {
});
gulp.task('!bundle.js.min.deps', ['!bundle.js.min'], function() {
return merge2(bundler.modify(
['node_modules/zone.js/dist/zone-microtask.min.js',
'node_modules/reflect-metadata/Reflect.js', 'dist/build/angular2.min.js'],
'angular2.min.js'
),
return merge2(
addDevDependencies('angular2.min.js'),
bundler.modify(
['node_modules/reflect-metadata/Reflect.js', 'dist/build/http.min.js'],
'http.min.js'