Skip to content

Commit 585b9cf

Browse files
Khoa TranRomanHotsiy
authored andcommitted
fix issue with loading https spec. See #243
1 parent 8af268e commit 585b9cf

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

build/webpack.common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = function (options) {
2323
extensions: ['.ts', '.js', '.json', '.css'],
2424
alias: {
2525
http: 'stream-http',
26-
https: 'stream-http'
26+
https: 'https-browserify'
2727
}
2828
},
2929

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"dropkickjs": "^2.1.10",
7575
"hint.css": "^2.3.2",
7676
"http-server": "^0.9.0",
77+
"https-browserify": "^1.0.0",
7778
"istanbul-instrumenter-loader": "^2.0.0",
7879
"jasmine-core": "^2.4.1",
7980
"jasmine-spec-reporter": "^3.1.0",

yarn.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2369,6 +2369,10 @@ https-browserify@0.0.1:
23692369
version "0.0.1"
23702370
resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-0.0.1.tgz#3f91365cabe60b77ed0ebba24b454e3e09d95a82"
23712371

2372+
https-browserify@^1.0.0:
2373+
version "1.0.0"
2374+
resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73"
2375+
23722376
https-proxy-agent@^1.0.0:
23732377
version "1.0.0"
23742378
resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-1.0.0.tgz#35f7da6c48ce4ddbfa264891ac593ee5ff8671e6"

0 commit comments

Comments
 (0)