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
This commit is contained in:
Pawel Kozlowski 2015-12-08 23:01:52 +01:00 committed by Jeremy Elbourn
parent aa85856e1c
commit b3c91b163b
1 changed files with 5 additions and 5 deletions

View File

@ -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); });