You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ESM distributable client is missing non-minified version #4731
Describe the bug
There is no debuggable ESM distributable... making debugging extremely difficult in some situations... like StackBlitz, where WS inspector and source map file loader in DevTools won't work as they are provided by a service worker. Bundling it ourselves with a service worker doesn't solve the problem... we need an ESM debuggle package hosted somewhere. we cannot load ...?module due to node dependencies in package.json (ws and xml).
Expected behavior
Load as normal, with debug logging calls.
Platform:
Device: Yes
OS: Yes
Additional context
Chrome has a bug where DevTools can't load file based source maps from a service worker. Easy fix is to just point to unpackage... but there is no ESM option.
Activity
feat: expose ESM build with debug (#1585)
darrachequesne commentedon Jun 23, 2023
This should be fixed by socketio/socket.io-client@781d753, included in version 4.7.0.
Please reopen if needed.