Closed xjamundx closed 8 years ago
Some of the configs validate and some don't. Needs work :)
Core request here is validation on the following paths + unvalidated path warnings + strict mode:
"entry": isStringOrNotEmptyObject,
"module": { loaders: Array.isArray },
"output": { path: isString, filename: isString },
"plugins": Array.isArray,
"devtool": isString,
"context": isString,
"resolve": {
modulesDirectories: Array.isArray,
extensions: Array.isArray,
alias: isntEmpty
}
Thanks for this! I think we're set now!
Mostly a :trollface: request to add support for some basic checking of common fields, but this actually works pretty well so :)