Fix CJS browser bundling (#4033).

This commit is contained in:
Richard Moore 2023-06-06 22:33:51 -04:00
parent 51a9610fe0
commit 38ee3195b0

@ -1,3 +1,12 @@
{
"browser": {
"./crypto/crypto.js": "./crypto/crypto-browser.js",
"./providers/provider-ipcsocket.js": "./providers/provider-ipcsocket-browser.js",
"./providers/ws.js": "./providers/ws-browser.js",
"./utils/base64.js": "./utils/base64-browser.js",
"./utils/geturl.js": "./utils/geturl-browser.js",
"./wordlists/wordlists.js": "./wordlists/wordlists-browser.js"
},
"sideEffects": false,
"type": "commonjs"
}