Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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)
```
  • Loading branch information
darrachequesne committed Nov 18, 2020
1 parent a883e32 commit bec1524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrapper.mjs
@@ -1,5 +1,5 @@
import io from "./build/index.js";

export const Manager = io.Manager;
export const io = io;
export { io };
export default io;

0 comments on commit bec1524

Please sign in to comment.