On b23’s configuration validation

I’m submitting a bug report

Webpack version:
2.1.0-beta.23

Please tell us about your environment:
OSX

Current behavior:

Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.entry['something'] should be one of these:
   string | [string]
   The entry point for one output file

Expected/desired behavior:
Should work since I am actually passing an array of strings as entry point(s)

Author: Fantashit

2 thoughts on “On b23’s configuration validation

  1. @phaistonian I edited node_modules/webpack/lib/WedpackOptionsValidationError.js and added console.dir(err) at line 24 (which should be the beginning of the formatValidationError function declaration).

    It logs a pretty complicated object, but I noticed it has a children array property that contain what look like sub-errors from the validator.

Comments are closed.