From b3c91b163b6563101b2ec2a09b795123c3d81c05 Mon Sep 17 00:00:00 2001 From: Pawel Kozlowski Date: Tue, 8 Dec 2015 23:01:52 +0100 Subject: [PATCH] fix(bundles): rename external-dependencies to angular-polyfills Closes #5714 BREAKING CHANGE: The `external-dependencies.js` bundle was removed. Use `angular-polyfills.js` instead. Closes #5716 --- gulpfile.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 892c58ec4d..e368088b44 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1120,13 +1120,13 @@ gulp.task('!bundles.js.umd', ['build.js.dev'], function() { ]); }); -gulp.task('bundles.js.umd.min', ['!bundles.js.umd', '!bundle.external.deps'], function() { +gulp.task('bundles.js.umd.min', ['!bundles.js.umd', '!bundle.ng.polyfills'], function() { var rename = require('gulp-rename'); var uglify = require('gulp-uglify'); // minify production bundles return gulp.src([ - 'dist/js/bundle/external-dependencies.js', + 'dist/js/bundle/angular-polyfills.js', 'dist/js/bundle/angular2.umd.js', 'dist/js/bundle/angular2_all.umd.js' ]) @@ -1155,8 +1155,8 @@ gulp.task('!bundle.js.min.deps', ['!bundle.js.min'], function() { .pipe(gulp.dest('dist/js/bundle')); }); -gulp.task('!bundle.external.deps', ['clean'], - function() { return addDevDependencies('external-dependencies.js'); }); +gulp.task('!bundle.ng.polyfills', ['clean'], + function() { return addDevDependencies('angular-polyfills.js'); }); var JS_DEV_DEPS = [ licenseWrap('node_modules/zone.js/LICENSE', true), @@ -1229,7 +1229,7 @@ gulp.task('bundles.js', '!bundle.js.sfx.dev.deps', 'bundles.js.umd.min', '!bundle.testing', - '!bundle.external.deps' + '!bundle.ng.polyfills' ], function(done) { runSequence('!bundle.copy', '!bundles.js.checksize', done); });