From b91f434796a1a3a560f991ac7f5ddff0f83c5929 Mon Sep 17 00:00:00 2001 From: sunrise30 Date: Tue, 17 Nov 2020 11:41:36 +0100 Subject: [PATCH] fix: add io as named exports The TypeScript (build/index.d.ts) and ES modules exports did not match, which caused issues with webpack and ts-loader. Related: https://github.com/socketio/socket.io-client/issues/1396 --- wrapper.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/wrapper.mjs b/wrapper.mjs index b914d4c..50ec133 100644 --- a/wrapper.mjs +++ b/wrapper.mjs @@ -1,4 +1,5 @@ import io from "./build/index.js"; export const Manager = io.Manager; +export const io = io; export default io;