Skip to content

Update install docs for v3, slim build missing #5105

@hyperknot

Description

@hyperknot

The install docs have not been updated for v3. There is no slim build anymore, is it on purpose?

If so, which bundle do you recommend for development and which one for production? Or there isn't any differentiation anymore?

Before I had this in webpack aliases:

let socketioClient
if (process.env.NODE_ENV === 'development') {
  socketioClient = 'socket.io-client/dist/socket.io.dev.js'
} else {
  socketioClient = 'socket.io-client/dist/socket.io.slim.js'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationpackage:socket.io-clientThis concerns the "socket.io-client" package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions