Webpack Code Splitting: Invalid configuration object

Viewed 133

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.

  • Setup multiple entry points with object schema object = { import string | [string], dependOn string | [string], filename string }
  • Run webpack command

What is the expected behavior?

Support documented schema.

Other relevant information:

  • Webpack version: 4.41.6
  • Operating System: MacOS Mojave, Ubuntu 1.18 (Linux 4.15)
1 Answers
Related