Closed jonathanglasmeyer closed 8 years ago
can you add a validator for resolve.root
to check that it's an absolute path and resolve.modulesDirectories
has node_modules
Sure. :)
Have a look at #49.
resolve.modulesDirectories has node_modules
Note, it's not necessarily wrong to exclude node_modules. But we could return a warning in this case.
Though I would recommend that we'd need to figure out a way to disable validators or that would get really annoying for someone who knows what they're doing.
ya, I think we need a config file for webpack-validator (`webpack-validator.json') to make sure our webpack config file is valid
Implement validation for stuff configured in
resolve
.