Files
socket.io/wrapper.mjs
Damien Arrachequesne bec15240ea fix: properly export io in ES modules wrapper
The syntax was invalid:

```
export const io = io;
             ^

SyntaxError: Identifier 'io' has already been declared
    at Loader.moduleStrategy (internal/modules/esm/translators.js:122:18)
```
2020-11-19 00:56:25 +01:00

6 lines
105 B
JavaScript

import io from "./build/index.js";
export const Manager = io.Manager;
export { io };
export default io;