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
minimize createConfig such that it only normalizes CLI arguments to API options, but does not handle defaults. Instead, the API should handle setting defaults.
move the logic of bin/webpack-dev-server into webpack-cli serve, such that webpack-cli serve calls the Dev Server API.
I decided to separate this from the
clientMode/serverMode
refactor effort. Here are my plans:devServer.progress
)bin/webpack-dev-server
to a bare minimumcreateConfig
such that it only normalizes CLI arguments to API options, but does not handle defaults. Instead, the API should handle setting defaults.bin/webpack-dev-server
intowebpack-cli serve
, such thatwebpack-cli serve
calls the Dev Server API.Issue created at
webpack-cli
: webpack/webpack-cli#900EDIT:
The text was updated successfully, but these errors were encountered: