Skip to content

Commit 63f24e1

Browse files
committed
added some missing schema entries
1 parent a6a389c commit 63f24e1

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

schemas/webpackOptionsSchema.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,14 @@
216216
},
217217
"devtoolFallbackModuleFilenameTemplate": {
218218
"description": "Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.",
219-
"type": "string"
219+
"anyOf": [
220+
{
221+
"type": "string"
222+
},
223+
{
224+
"instanceof": "Function"
225+
}
226+
]
220227
},
221228
"devtoolLineToLine": {
222229
"description": "Enable line to line mapped mode for all/specified modules. Line to line mapped mode uses a simple SourceMap where each line of the generated source is mapped to the same line of the original source. It’s a performance optimization. Only use it if your performance need to be better and you are sure that input lines match which generated lines.",
@@ -654,6 +661,13 @@
654661
},
655662
"node": {
656663
"description": "Include polyfills or mocks for various node stuff.",
664+
"additionalProperties": {
665+
"enum": [
666+
false,
667+
true,
668+
"mock"
669+
]
670+
},
657671
"properties": {
658672
"Buffer": {
659673
"type": "boolean"

0 commit comments

Comments
 (0)