Skip to content

Commit

Permalink
Fix CJS browser bundling (#4033).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Jun 7, 2023
1 parent 51a9610 commit 38ee319
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions misc/basedirs/lib.commonjs/package.json
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 38ee319

Please # to comment.