refactor(sio): add package.json entrypoint (#5239)

This commit is contained in:
Denis Barbaron
2025-12-22 14:33:12 +01:00
committed by GitHub
parent 30ec4a136a
commit 84e7253e57

View File

@@ -26,10 +26,13 @@
"type": "commonjs", "type": "commonjs",
"main": "./dist/index.js", "main": "./dist/index.js",
"exports": { "exports": {
".": {
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"import": "./wrapper.mjs", "import": "./wrapper.mjs",
"require": "./dist/index.js" "require": "./dist/index.js"
}, },
"./package.json": "./package.json"
},
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"license": "MIT", "license": "MIT",
"homepage": "https://github.com/socketio/socket.io/tree/main/packages/socket.io#readme", "homepage": "https://github.com/socketio/socket.io/tree/main/packages/socket.io#readme",