From 02a6450681f223b2c336c0a84b4d17dc7051051e Mon Sep 17 00:00:00 2001 From: Francesco Soncina Date: Thu, 6 Apr 2017 11:08:42 +0100 Subject: [PATCH 1/2] update angular [4.0.0 => 4.0.1] (#330) --- package.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index f022987b..f31e4167 100644 --- a/package.json +++ b/package.json @@ -25,14 +25,14 @@ "postinstall": "npm run webdriver-update" }, "dependencies": { - "@angular/common": "4.0.0", - "@angular/compiler": "4.0.0", - "@angular/core": "4.0.0", - "@angular/forms": "4.0.0", - "@angular/http": "4.0.0", - "@angular/platform-browser": "4.0.0", - "@angular/platform-browser-dynamic": "4.0.0", - "@angular/router": "4.0.0", + "@angular/common": "4.0.1", + "@angular/compiler": "4.0.1", + "@angular/core": "4.0.1", + "@angular/forms": "4.0.1", + "@angular/http": "4.0.1", + "@angular/platform-browser": "4.0.1", + "@angular/platform-browser-dynamic": "4.0.1", + "@angular/router": "4.0.1", "core-js": "^2.4.1", "reflect-metadata": "^0.1.3", "rxjs": "^5.0.1", From 0dbde41de5d7f04042de629acdbf87157cdbac05 Mon Sep 17 00:00:00 2001 From: William KOZA Date: Fri, 7 Apr 2017 12:01:30 +0200 Subject: [PATCH 2/2] delete useless test and add forms module to vendor chuck (#332) --- src/vendor.ts | 2 +- webpack.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vendor.ts b/src/vendor.ts index 8871b0e3..61a0d643 100644 --- a/src/vendor.ts +++ b/src/vendor.ts @@ -5,7 +5,7 @@ import '@angular/core'; import '@angular/common'; import '@angular/http'; import '@angular/router'; - +import '@angular/forms'; import 'rxjs'; import '@angularclass/hmr'; diff --git a/webpack.config.js b/webpack.config.js index 93e0ced9..e486fdbc 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -46,7 +46,7 @@ module.exports = function makeWebpackConfig() { * Entry * Reference: http://webpack.github.io/docs/configuration.html#entry */ - config.entry = isTest ? {} : { + config.entry = { 'polyfills': './src/polyfills.ts', 'vendor': './src/vendor.ts', 'app': './src/main.ts' // our angular app