From 2fe06ea784d9413a9fb54dd839d5a8c9db0d6421 Mon Sep 17 00:00:00 2001 From: SteveSandersonMS Date: Tue, 26 Jul 2016 14:57:14 +0100 Subject: [PATCH] Make the dependency on es6-shim explicit, and include it in the vendor bundle --- templates/Angular2Spa/package.json | 1 + templates/Angular2Spa/webpack.config.vendor.js | 1 + 2 files changed, 2 insertions(+) diff --git a/templates/Angular2Spa/package.json b/templates/Angular2Spa/package.json index 5c09d17..3797004 100644 --- a/templates/Angular2Spa/package.json +++ b/templates/Angular2Spa/package.json @@ -30,6 +30,7 @@ "angular2-universal": "^0.104.5", "aspnet-prerendering": "^1.0.2", "css": "^2.2.1", + "es6-shim": "^0.35.1", "isomorphic-fetch": "^2.2.1", "preboot": "^2.0.10", "rxjs": "5.0.0-beta.6", diff --git a/templates/Angular2Spa/webpack.config.vendor.js b/templates/Angular2Spa/webpack.config.vendor.js index 0fc256a..cd2bbe0 100644 --- a/templates/Angular2Spa/webpack.config.vendor.js +++ b/templates/Angular2Spa/webpack.config.vendor.js @@ -18,6 +18,7 @@ module.exports = { vendor: [ 'bootstrap', 'bootstrap/dist/css/bootstrap.css', + 'es6-shim', 'style-loader', 'jquery', '@angular/common',