mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-04 13:05:49 +00:00
Fix browser builds (#1006)
tsconfig: - Must set composite: false - Must set declarationMap: false in order to use declaration: false json-loader: - Not needed with webpack >= v2.0.0 and in fact does not work https-proxy-agent cannot be used in the browser
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
"main": "dist/npm/",
|
||||
"types": "dist/npm/index.d.ts",
|
||||
"browser": {
|
||||
"ws": "./dist/npm/common/wswrapper.js"
|
||||
"ws": "./dist/npm/common/wswrapper.js",
|
||||
"https-proxy-agent": false
|
||||
},
|
||||
"directories": {
|
||||
"test": "test"
|
||||
|
||||
Reference in New Issue
Block a user