Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(engine.io-client): correctly consume the
ws
package (#5220)
This should fix the following issue: ``` SyntaxError: Named export 'WebSocket' not found. The requested module 'ws' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'ws'; const { WebSocket } = pkg; ```
- Loading branch information