From 4deaf0bdd38000893a5994c9e76cc1db4d716a38 Mon Sep 17 00:00:00 2001 From: Pawel Kozlowski Date: Sat, 12 Dec 2015 19:19:38 +0100 Subject: [PATCH] chore(bundles): align content of System.register and UMD bundles Closes #5856 --- gulpfile.js | 7 +++++-- tools/build/webpack/angular2-testing.umd.js | 1 + tools/build/webpack/angular2.umd.js | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 462de5ae47..2bff43d45f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -152,8 +152,11 @@ var ANGULAR2_BUNDLE_CONFIG = [ var NG2_BUNDLE_CONTENT = ANGULAR2_BUNDLE_CONFIG.join(' + '); var HTTP_BUNDLE_CONTENT = 'angular2/http - ' + ANGULAR2_BUNDLE_CONFIG.join(' - '); -var ROUTER_BUNDLE_CONTENT = 'angular2/router - ' + ANGULAR2_BUNDLE_CONFIG.join(' - '); -var TESTING_BUNDLE_CONTENT = 'angular2/testing - ' + ANGULAR2_BUNDLE_CONFIG.join(' - '); +var ROUTER_BUNDLE_CONTENT = + 'angular2/router + angular2/router/router_link_dsl - ' + ANGULAR2_BUNDLE_CONFIG.join(' - '); +var TESTING_BUNDLE_CONTENT = + 'angular2/testing + angular2/http/testing + angular2/router/testing - ' + + ANGULAR2_BUNDLE_CONFIG.join(' - '); var UPGRADE_BUNDLE_CONTENT = 'angular2/upgrade - ' + ANGULAR2_BUNDLE_CONFIG.join(' - '); var BENCHPRESS_BUNDLE_CONFIG = { diff --git a/tools/build/webpack/angular2-testing.umd.js b/tools/build/webpack/angular2-testing.umd.js index 841b411359..d1a2388c70 100644 --- a/tools/build/webpack/angular2-testing.umd.js +++ b/tools/build/webpack/angular2-testing.umd.js @@ -2,6 +2,7 @@ // the only difference being "testing" export exports.core = require('angular2/core'); exports.common = require('angular2/common'); +exports.compiler = require('angular2/compiler'); exports.platform = { browser: require('angular2/platform/browser'), common_dom: require('angular2/platform/common_dom') diff --git a/tools/build/webpack/angular2.umd.js b/tools/build/webpack/angular2.umd.js index c37393dc58..64bba9d5dc 100644 --- a/tools/build/webpack/angular2.umd.js +++ b/tools/build/webpack/angular2.umd.js @@ -1,5 +1,6 @@ exports.core = require('angular2/core'); exports.common = require('angular2/common'); +exports.compiler = require('angular2/compiler'); exports.platform = { browser: require('angular2/platform/browser'), common_dom: require('angular2/platform/common_dom')