mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
This change introduces an ESM build which will allow tree shaking. A CJS build is also provided for backward compatibility.
10 lines
254 B
JSON
10 lines
254 B
JSON
{
|
|
"type": "commonjs",
|
|
"browser": {
|
|
"ws": false,
|
|
"xmlhttprequest-ssl": "./xmlhttprequest.js",
|
|
"./transports/websocket-constructor.js": "./transports/websocket-constructor.browser.js",
|
|
"./globalThis.js": "./globalThis.browser.js"
|
|
}
|
|
}
|