Reputation: 770
What is the current behavior?
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: function | object { : non-empty string | [non-empty string] } | non-empty string | [non-empty string]
If the current behavior is a bug, please provide the steps to reproduce.
object = { import string | [string], dependOn string | [string], filename string }
What is the expected behavior?
Support documented schema.
Other relevant information:
Upvotes: 2
Views: 153
Reputation: 770
NPM Tag at top is not the version of the documentation.
Documentation target master, which is under v5 (confusing).
see: https://github.com/webpack/webpack.js.org/issues/3592
Upvotes: 4