diff --git a/packages/socket.io/package.json b/packages/socket.io/package.json index e7fdb3b40..2e8bf29b5 100644 --- a/packages/socket.io/package.json +++ b/packages/socket.io/package.json @@ -26,9 +26,12 @@ "type": "commonjs", "main": "./dist/index.js", "exports": { - "types": "./dist/index.d.ts", - "import": "./wrapper.mjs", - "require": "./dist/index.js" + ".": { + "types": "./dist/index.d.ts", + "import": "./wrapper.mjs", + "require": "./dist/index.js" + }, + "./package.json": "./package.json" }, "types": "./dist/index.d.ts", "license": "MIT",