Skip to content

Make an es6 version also #1378

Closed
Closed
@OSG-Proj

Description

Note: for support questions, please use one of these channels: stackoverflow or slack

For bug reports and feature requests for the Swift client, please open an issue there.

For bug reports and feature requests for the Java client, please open an issue there.

You want to:

  • [] report a bug
  • [x ] request a feature

Current behaviour

What is actually happening?
I can see that this is a commonjs module, webpack supports interoptability across modules, but isnt recommended.

Steps to reproduce (if the current behaviour is a bug)

Note: the best way (and by that we mean the only way) to get a quick answer is to provide a failing test case by forking the following fiddle.

Expected behaviour

What is expected?
There should be es6 exports instead of module.exports for use in the browser, due to the fact socket.io-client is a client side portion of socket.io.

Setup

  • OS: windows 10
  • browser: chrome
  • socket.io version: 2.3.0

Other information (e.g. stacktraces, related issues, suggestions how to fix)

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions