Skip to content

Commit

Permalink
fix: fix vite build for CommonJS users
Browse files Browse the repository at this point in the history
Related: socketio/socket.io-client#1504

Backported from master: c557707
  • Loading branch information
darrachequesne committed Nov 14, 2021
1 parent 68dc241 commit 9fcaf58
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@
"./test/node.js": false,
"./build/esm/transports/xmlhttprequest.js": "./build/esm/transports/xmlhttprequest.browser.js",
"./build/esm/transports/websocket-constructor.js": "./build/esm/transports/websocket-constructor.browser.js",
"./build/esm/globalThis.js": "./build/esm/globalThis.browser.js"
"./build/esm/globalThis.js": "./build/esm/globalThis.browser.js",
"./build/cjs/transports/xmlhttprequest.js": "./build/cjs/transports/xmlhttprequest.browser.js",
"./build/cjs/transports/websocket-constructor.js": "./build/cjs/transports/websocket-constructor.browser.js",
"./build/cjs/globalThis.js": "./build/cjs/globalThis.browser.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 9fcaf58

Please sign in to comment.