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:
parent
aa85856e1c
commit
b3c91b163b
10
gulpfile.js
10
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 rename = require('gulp-rename');
|
||||||
var uglify = require('gulp-uglify');
|
var uglify = require('gulp-uglify');
|
||||||
|
|
||||||
// minify production bundles
|
// minify production bundles
|
||||||
return gulp.src([
|
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.umd.js',
|
||||||
'dist/js/bundle/angular2_all.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'));
|
.pipe(gulp.dest('dist/js/bundle'));
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('!bundle.external.deps', ['clean'],
|
gulp.task('!bundle.ng.polyfills', ['clean'],
|
||||||
function() { return addDevDependencies('external-dependencies.js'); });
|
function() { return addDevDependencies('angular-polyfills.js'); });
|
||||||
|
|
||||||
var JS_DEV_DEPS = [
|
var JS_DEV_DEPS = [
|
||||||
licenseWrap('node_modules/zone.js/LICENSE', true),
|
licenseWrap('node_modules/zone.js/LICENSE', true),
|
||||||
|
@ -1229,7 +1229,7 @@ gulp.task('bundles.js',
|
||||||
'!bundle.js.sfx.dev.deps',
|
'!bundle.js.sfx.dev.deps',
|
||||||
'bundles.js.umd.min',
|
'bundles.js.umd.min',
|
||||||
'!bundle.testing',
|
'!bundle.testing',
|
||||||
'!bundle.external.deps'
|
'!bundle.ng.polyfills'
|
||||||
],
|
],
|
||||||
function(done) { runSequence('!bundle.copy', '!bundles.js.checksize', done); });
|
function(done) { runSequence('!bundle.copy', '!bundles.js.checksize', done); });
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue