From 62ea16b4ec94a2d4a98595e7c33fa60cccb4fac2 Mon Sep 17 00:00:00 2001 From: Denis barbaron Date: Tue, 26 Nov 2024 18:04:25 +0100 Subject: [PATCH] add package.json entry point in socket.io package.json Signed-off-by: Denis barbaron --- packages/socket.io/package.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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",