Commit 84ec6cf
committed
refactor: expose the ESM build with debug (bis)
This reverts the previous commit ([1]), and expose the ESM build that
includes the debug package on a subpath:
```js
import { io } from "socket.io-client/debug";
```
Reference: https://nodejs.org/api/packages.html#subpath-exports
Related: https://github.com/socketio/socket.io-client/issues/1586
[1]: 781d7531 parent 630ff41 commit 84ec6cf
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
0 commit comments