Skip to content

Commit

Permalink
fix: repair of the umd bundle (package.browser)
Browse files Browse the repository at this point in the history
the external dependencies were not updated in webpack config when @angular/http was replaced by
@angular/common/http
  • Loading branch information
yisraelx committed Feb 3, 2018
1 parent f50962d commit 53bc504
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down

0 comments on commit 53bc504

Please sign in to comment.