Ignore https-proxy-agent dependency in browser environments (#2133)

* Ignore https-proxy-agent in browsers

* ignore eslint-comments/no-unused-disable linting rule
This commit is contained in:
mpint
2022-11-16 17:01:06 -06:00
committed by GitHub
parent c4c8e58fd9
commit a4c2bb998f
5 changed files with 10 additions and 3 deletions

View File

@@ -18,7 +18,8 @@
"test": "test"
},
"browser": {
"ws": "./dist/npm/client/WSWrapper.js"
"ws": "./dist/npm/client/WSWrapper.js",
"https-proxy-agent": false
},
"dependencies": {
"bignumber.js": "^9.0.0",