Commit Graph

3 Commits

Author SHA1 Message Date
Kees Kluskens 256d72beac Allow to validate a custom schema with webpack.validate
This makes it possible to provide a custom schema and provide it to webpack.validate.
webpack-dev-server and webpack-dev-middleware can then use this schema to validate their options in the same way as webpack does.
2016-11-01 15:32:00 +01:00
Tobias Koppers 8c3d97d933 add test
better error messages
validate array
more options in schema
stricter schema
fix some old configs
2016-09-19 00:54:35 +02:00
Gajus Kuizinas 79997455c6 feat: define validateWebpackOptions function
Define a function that is used to validate an object against webpackOptionsSchema.json.
2016-09-17 20:21:07 +01:00