Skip to content

Config validation - part one #654

@SpaceK33z

Description

@SpaceK33z

webpack-dev-server should validate it's configuration against a schema, just like webpack v2 does.

The plan is to add a hook to webpack. This hook validates the given schema against the given options. So before we can start on this ticket, webpack needs to provide this hook for us.

Note that this should also work for webpack-dev-middleware.

Part two will be about having even more config validation; e.g. warning if a combination of options doesn't work.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions