Skip to content

Commit 84e7253

Browse files
authored
refactor(sio): add package.json entrypoint (#5239)
1 parent 30ec4a1 commit 84e7253

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/socket.io/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,12 @@
2626
"type": "commonjs",
2727
"main": "./dist/index.js",
2828
"exports": {
29-
"types": "./dist/index.d.ts",
30-
"import": "./wrapper.mjs",
31-
"require": "./dist/index.js"
29+
".": {
30+
"types": "./dist/index.d.ts",
31+
"import": "./wrapper.mjs",
32+
"require": "./dist/index.js"
33+
},
34+
"./package.json": "./package.json"
3235
},
3336
"types": "./dist/index.d.ts",
3437
"license": "MIT",

0 commit comments

Comments
 (0)