diff --git a/gulpfile.js b/gulpfile.js index 464e68c010..41bfdf83a3 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -464,11 +464,13 @@ function installExampleAngular() { var libs = [ 'core', 'common', 'compiler', 'platform-browser', 'platform-browser-dynamic', - 'forms', 'http', 'router']; + 'forms', 'http', 'router', 'upgrade']; // Like: "angular/core-builds" or "@angular/core" sources = libs.map( lib => argv.build ? `angular/${lib}-builds` : `@angular/${lib}`); + sources.push('@angular/router-deprecated'); + gutil.log(`Installing Angular npm packages from ${argv.build ? 'BUILD' : 'RELEASE'}`); var spawnInfo = spawnExt('rm', ['-rf', 'node_modules/@angular'], { cwd: EXAMPLES_PATH});