Skip to content

Commit

Permalink
fix: add io as named exports
Browse files Browse the repository at this point in the history
The TypeScript (build/index.d.ts) and ES modules exports did not match,
which caused issues with webpack and ts-loader.

Related: socketio/socket.io-client#1396
  • Loading branch information
sunrise30 committed Nov 17, 2020
1 parent 9216e64 commit b91f434
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wrapper.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import io from "./build/index.js";

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

0 comments on commit b91f434

Please sign in to comment.