From 53bc5047daefbf27f7972ef94e55ecba9ae59af8 Mon Sep 17 00:00:00 2001 From: yisraelx Date: Sat, 3 Feb 2018 22:44:58 +0200 Subject: [PATCH] fix: repair of the umd bundle (package.browser) the external dependencies were not updated in webpack config when @angular/http was replaced by @angular/common/http --- webpack.config.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 31cc240..7e4683d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -57,11 +57,11 @@ module.exports = { commonjs: '@angular/core', commonjs2: '@angular/core' }, - '@angular/http': { - root: ['ng', 'http'], - amd: '@angular/http', - commonjs: '@angular/http', - commonjs2: '@angular/http' + '@angular/common/http': { + root: ['ng', 'common', 'http'], + amd: '@angular/common/http', + commonjs: '@angular/common/http', + commonjs2: '@angular/common/http' }, 'showdown': 'showdown' }