Closed karol-maciaszek closed 7 years ago
Code looks fine, I'm not sure why suddenly the code coverage of no-root-files-node-modules-nameclash.js
is less than 100%. I just re-ran the master build and I'm seeing the same results. I'm guessing we have a transitive dependency that fixed a bug that reported we had 100% code coverage when we really didn't or something.
All that said, you're stuff is good, so I'll go ahead and merge it. Hopefully I can have some time today to look into the issue and try to fix it.
This has been released in v2.2.8
. Thanks!
That was fast, thanks!
Bugfix for proper validation of devServer: cert, key, ca fields.
Once you want a custom certificate to be used by webpack-dev-server you need to pass following options in
devServer
section of config file:Current implementation of webpack-validator allows
Joi.string()
in these fields, while these areBuffer
's.The PR changes devServer schema to accept
Buffer
's as long asString
's https://github.com/hapijs/joi/blob/v9.0.4/API.md#binary.Here is how dev-server does it internally: https://github.com/webpack/webpack-dev-server/blob/master/lib/Server.js#L315.