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
This option allows the user to specify which socket transport mode to use for communication between the dev server and client. It is still an experimental option. Usage:
string:
transportMode: 'sockjs'
transportMode: 'ws'
object, with server (can be string mode/path or class), client (string mode/path) properties:
equivalent to ws mode above:
transportMode: {
server: 'ws',
client: 'ws'
}
custom implementation:
transportMode: {
server: require('path/to/custom/server'), // can be path or class (class seen here)
client: require.resolve('path/to/custom/client') // must be path
}
[x] I am willing to work on this issue and submit a pull request.
The text was updated successfully, but these errors were encountered:
Feature to document
transportMode option: webpack/webpack-dev-server#2116
Author(s)
Myself
/cc @evilebottnawi @hiroppy
Additional information
This option allows the user to specify which socket transport mode to use for communication between the dev server and client. It is still an experimental option. Usage:
string:
object, with
server
(can be string mode/path or class),client
(string mode/path) properties:equivalent to
ws
mode above:custom implementation:
[x] I am willing to work on this issue and submit a pull request.
The text was updated successfully, but these errors were encountered: