Skip to content

devServer hotOnly confusing error message #703

Closed
@asterikx

Description

@asterikx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions