mirror of
https://github.com/socketio/socket.io.git
synced 2026-01-08 22:48:20 -05:00
refactor(sio): add package.json entrypoint (#5239)
This commit is contained in:
@@ -26,9 +26,12 @@
|
|||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
"types": "./dist/index.d.ts",
|
".": {
|
||||||
"import": "./wrapper.mjs",
|
"types": "./dist/index.d.ts",
|
||||||
"require": "./dist/index.js"
|
"import": "./wrapper.mjs",
|
||||||
|
"require": "./dist/index.js"
|
||||||
|
},
|
||||||
|
"./package.json": "./package.json"
|
||||||
},
|
},
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
Reference in New Issue
Block a user