Skip to content

Commit b3c91b1

Browse files
pkozlowski-opensourcejelbourn
authored andcommitted
fix(bundles): rename external-dependencies to angular-polyfills
Closes angular#5714 BREAKING CHANGE: The `external-dependencies.js` bundle was removed. Use `angular-polyfills.js` instead. Closes angular#5716
1 parent aa85856 commit b3c91b1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

gulpfile.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,13 +1120,13 @@ gulp.task('!bundles.js.umd', ['build.js.dev'], function() {
11201120
]);
11211121
});
11221122

1123-
gulp.task('bundles.js.umd.min', ['!bundles.js.umd', '!bundle.external.deps'], function() {
1123+
gulp.task('bundles.js.umd.min', ['!bundles.js.umd', '!bundle.ng.polyfills'], function() {
11241124
var rename = require('gulp-rename');
11251125
var uglify = require('gulp-uglify');
11261126

11271127
// minify production bundles
11281128
return gulp.src([
1129-
'dist/js/bundle/external-dependencies.js',
1129+
'dist/js/bundle/angular-polyfills.js',
11301130
'dist/js/bundle/angular2.umd.js',
11311131
'dist/js/bundle/angular2_all.umd.js'
11321132
])
@@ -1155,8 +1155,8 @@ gulp.task('!bundle.js.min.deps', ['!bundle.js.min'], function() {
11551155
.pipe(gulp.dest('dist/js/bundle'));
11561156
});
11571157

1158-
gulp.task('!bundle.external.deps', ['clean'],
1159-
function() { return addDevDependencies('external-dependencies.js'); });
1158+
gulp.task('!bundle.ng.polyfills', ['clean'],
1159+
function() { return addDevDependencies('angular-polyfills.js'); });
11601160

11611161
var JS_DEV_DEPS = [
11621162
licenseWrap('node_modules/zone.js/LICENSE', true),
@@ -1229,7 +1229,7 @@ gulp.task('bundles.js',
12291229
'!bundle.js.sfx.dev.deps',
12301230
'bundles.js.umd.min',
12311231
'!bundle.testing',
1232-
'!bundle.external.deps'
1232+
'!bundle.ng.polyfills'
12331233
],
12341234
function(done) { runSequence('!bundle.copy', '!bundles.js.checksize', done); });
12351235

0 commit comments

Comments
 (0)