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", 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