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
Having configured webpack/hot/dev-server as an entry point as well as set hot to true (inside the devServer configuration object) leads to the error message:
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.entry should be one of these:
object { <key>: string | [string] } | string | [string]
The entry point(s) of the compilation.
The same accounts for webpack/hot/only-dev-server and hotOnly flag.
This error message seems inappropriate/diffcult to interprete.
The text was updated successfully, but these errors were encountered:
In that case you should not add the entry point manually. I couldn't reproduce your issue. The error is confusing, but previously the server would start with a not correctly working config. With #615 we'll be working on better validation for this.
Having configured
webpack/hot/dev-server
as an entry point as well as sethot
totrue
(inside thedevServer
configuration object) leads to the error message:The same accounts for
webpack/hot/only-dev-server
andhotOnly
flag.This error message seems inappropriate/diffcult to interprete.
The text was updated successfully, but these errors were encountered: