mirror of https://github.com/webpack/webpack.git
feat: cli flags
This commit is contained in:
parent
af375f827e
commit
8421268b16
|
@ -35,7 +35,6 @@ function getSchemaPart(path) {
|
|||
|
||||
function addFlag(schemaPath, schemaPart, multiple) {
|
||||
const name = decamelize(schemaPath.replace(/\./g, "-"));
|
||||
// TODO move it under property
|
||||
const types = schemaPart.enum
|
||||
? [...new Set(schemaPart.enum.map(item => typeof item))]
|
||||
: Array.isArray(schemaPart.type)
|
||||
|
|
Loading…
Reference in New Issue