You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/options.json
+8-1
Original file line number
Diff line number
Diff line change
@@ -258,7 +258,14 @@
258
258
"description": "Defines routes which are enabled by default, on by default and allows localhost. https://webpack.js.org/configuration/dev-server/#devserverfirewall"
259
259
},
260
260
"headers": {
261
-
"type": "object",
261
+
"anyOf": [
262
+
{
263
+
"type": "object"
264
+
},
265
+
{
266
+
"instanceof": "Function"
267
+
}
268
+
],
262
269
"description": "Adds headers to all responses. https://webpack.js.org/configuration/dev-server/#devserverheaders"
0 commit comments