Skip to content

Commit bec1524

Browse files
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) ```
1 parent a883e32 commit bec1524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wrapper.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import io from "./build/index.js";
22

33
export const Manager = io.Manager;
4-
export const io = io;
4+
export { io };
55
export default io;

0 commit comments

Comments
 (0)