Skip to content

Commit 53bc504

Browse files
committed
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
1 parent f50962d commit 53bc504

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

webpack.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ module.exports = {
5757
commonjs: '@angular/core',
5858
commonjs2: '@angular/core'
5959
},
60-
'@angular/http': {
61-
root: ['ng', 'http'],
62-
amd: '@angular/http',
63-
commonjs: '@angular/http',
64-
commonjs2: '@angular/http'
60+
'@angular/common/http': {
61+
root: ['ng', 'common', 'http'],
62+
amd: '@angular/common/http',
63+
commonjs: '@angular/common/http',
64+
commonjs2: '@angular/common/http'
6565
},
6666
'showdown': 'showdown'
6767
}

0 commit comments

Comments
 (0)