Neok
Neok

Reputation: 770

Webpack Code Splitting: Invalid configuration object

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.

What is the expected behavior?

Support documented schema.

Other relevant information:

Upvotes: 2

Views: 153

Answers (1)

Neok
Neok

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 enter image description here

Upvotes: 4

Related Questions