Describe the bug
A clear and concise description of what the bug is.
Cannot import io from socket.io-client
To Reproduce
Use @kellnerd/userscript-bundler to try to bundle import { io } from "socket.io-client"
Please fill the following code example:
Socket.IO server version: x.y.z none
Server
import { Server } from "socket.io";
const io = new Server(3000, {});
io.on("connection", (socket) => {
console.log(`connect ${socket.id}`);
socket.on("disconnect", () => {
console.log(`disconnect ${socket.id}`);
});
});
Describe the bug A clear and concise description of what the bug is. Cannot import io from socket.io-client To Reproduce Use @kellnerd/userscript-bundler to try to bundle
import { io } from "socket.io-client"
Please fill the following code example:Socket.IO server version:
x.y.z
noneServer
Socket.IO client version:
x.y.z
Client
Expected behavior have the IO object
Platform:
Additional context Add any other context about the problem here. no