1 | {
|
2 | "type": "object",
|
3 | "properties": {
|
4 | "worker": {
|
5 | "anyOf": [
|
6 | {
|
7 | "type": "string",
|
8 | "minLength": 1
|
9 | },
|
10 | {
|
11 | "type": "object",
|
12 | "additionalProperties": false,
|
13 | "properties": {
|
14 | "type": {
|
15 | "type": "string",
|
16 | "minLength": 1
|
17 | },
|
18 | "options": {
|
19 | "additionalProperties": true,
|
20 | "type": "object"
|
21 | }
|
22 | },
|
23 | "required": ["type"]
|
24 | }
|
25 | ]
|
26 | },
|
27 | "publicPath": {
|
28 | "anyOf": [
|
29 | {
|
30 | "type": "string"
|
31 | },
|
32 | {
|
33 | "instanceof": "Function"
|
34 | }
|
35 | ]
|
36 | },
|
37 | "filename": {
|
38 | "anyOf": [
|
39 | {
|
40 | "type": "string",
|
41 | "minLength": 1
|
42 | },
|
43 | {
|
44 | "instanceof": "Function"
|
45 | }
|
46 | ]
|
47 | },
|
48 | "chunkFilename": {
|
49 | "type": "string",
|
50 | "minLength": 1
|
51 | },
|
52 | "inline": {
|
53 | "enum": ["no-fallback", "fallback"]
|
54 | },
|
55 | "esModule": {
|
56 | "type": "boolean"
|
57 | }
|
58 | },
|
59 | "additionalProperties": false
|
60 | }
|