mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 12:15:51 +00:00
feat(deps): make https-proxy-agent optional (#2388)
Bump https-proxy-agent to v7 and a dev dependency. This makes configuring bundlers easier to configure and removes a direct dependency of `https-proxy-agent`. BREAKING CHANGE: Configuring a proxy is done by specifying the `agent` parameter on the ConnectionOptions config. This can use be created by libraries such as `https-proxy-agent` or any that implements `http.Agent`.
This commit is contained in:
@@ -56,7 +56,6 @@ function getDefaultConfiguration() {
|
||||
resolve: {
|
||||
alias: {
|
||||
ws: './dist/npm/client/WSWrapper.js',
|
||||
'https-proxy-agent': false,
|
||||
},
|
||||
extensions: ['.js', '.json'],
|
||||
// We don't want to webpack any of the local dependencies:
|
||||
|
||||
Reference in New Issue
Block a user