Skip to content

Commit ab1d1d0

Browse files
committed
allow strings and array of strings for module.noPArse
also make sure they are absolute paths
1 parent 890db7e commit ab1d1d0

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎schemas/webpackOptionsSchema.json‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,18 @@
158158
},
159159
{
160160
"instanceof": "RegExp"
161+
},
162+
{
163+
"items": {
164+
"type": "string",
165+
"absolutePath": true
166+
},
167+
"minItems": 1,
168+
"type": "array"
169+
},
170+
{
171+
"type": "string",
172+
"absolutePath": true
161173
}
162174
]
163175
},

0 commit comments

Comments
 (0)