|
10 | 10 | "type": "boolean"
|
11 | 11 | },
|
12 | 12 | "lazy": {
|
13 |
| - "description": "TODO.", |
| 13 | + "description": "Disables watch mode and recompiles bundle only on a request.", |
14 | 14 | "type": "boolean"
|
15 | 15 | },
|
16 | 16 | "host": {
|
17 |
| - "description": "TODO.", |
| 17 | + "description": "The host the server listens to.", |
18 | 18 | "type": "string"
|
19 | 19 | },
|
20 | 20 | "filename": {
|
21 |
| - "description": "TODO.", |
| 21 | + "description": "The filename that needs to be requested in order to trigger a recompile (only in lazy mode).", |
22 | 22 | "type": "string"
|
23 | 23 | },
|
24 | 24 | "outputPath": {
|
|
30 | 30 | "type": "string"
|
31 | 31 | },
|
32 | 32 | "port": {
|
33 |
| - "description": "TODO.", |
| 33 | + "description": "The port the server listens to.", |
34 | 34 | "type": "number"
|
35 | 35 | },
|
36 | 36 | "socket": {
|
37 |
| - "description": "TODO.", |
| 37 | + "description": "The Unix socket to listen to (instead of on a host).", |
38 | 38 | "type": "string"
|
39 | 39 | },
|
40 | 40 | "watchOptions": {
|
41 |
| - "description": "TODO.", |
| 41 | + "description": "Options for changing the watch behavior.", |
42 | 42 | "type": "object"
|
43 | 43 | },
|
44 | 44 | "headers": {
|
45 |
| - "description": "TODO.", |
| 45 | + "description": "Response headers that are added to each response.", |
46 | 46 | "type": "object"
|
47 | 47 | },
|
48 | 48 | "clientLogLevel": {
|
49 |
| - "description": "TODO.", |
| 49 | + "description": "Controls the log messages shown in the browser.", |
50 | 50 | "enum": [
|
51 | 51 | "info",
|
52 | 52 | "warning",
|
53 | 53 | "error"
|
54 | 54 | ]
|
55 | 55 | },
|
56 | 56 | "key": {
|
57 |
| - "description": "TODO.", |
| 57 | + "description": "The contents of a SSL key.", |
58 | 58 | "anyOf": [
|
59 | 59 | {
|
60 | 60 | "type": "string"
|
|
65 | 65 | ]
|
66 | 66 | },
|
67 | 67 | "cert": {
|
68 |
| - "description": "TODO.", |
| 68 | + "description": "The contents of a SSL certificate.", |
69 | 69 | "anyOf": [
|
70 | 70 | {
|
71 | 71 | "type": "string"
|
|
76 | 76 | ]
|
77 | 77 | },
|
78 | 78 | "ca": {
|
79 |
| - "description": "TODO.", |
| 79 | + "description": "The contents of a SSL CA certificate.", |
80 | 80 | "anyOf": [
|
81 | 81 | {
|
82 | 82 | "type": "string"
|
|
87 | 87 | ]
|
88 | 88 | },
|
89 | 89 | "pfx": {
|
90 |
| - "description": "TODO.", |
| 90 | + "description": "The contents of a SSL pfx file.", |
91 | 91 | "anyOf": [
|
92 | 92 | {
|
93 | 93 | "type": "string"
|
|
98 | 98 | ]
|
99 | 99 | },
|
100 | 100 | "pfxPassphrase": {
|
101 |
| - "description": "TODO.", |
| 101 | + "description": "The passphrase to a (SSL) PFX file.", |
102 | 102 | "type": "string"
|
103 | 103 | },
|
104 | 104 | "inline": {
|
|
110 | 110 | "type": "string"
|
111 | 111 | },
|
112 | 112 | "https": {
|
113 |
| - "description": "TODO.", |
| 113 | + "description": "Enable HTTPS for server.", |
114 | 114 | "anyOf": [
|
115 | 115 | {
|
116 | 116 | "type": "object"
|
|
121 | 121 | ]
|
122 | 122 | },
|
123 | 123 | "contentBase": {
|
124 |
| - "description": "TODO.", |
| 124 | + "description": "A directory to serve files non-webpack files from.", |
125 | 125 | "anyOf": [
|
126 | 126 | {
|
127 | 127 | "type": "array"
|
|
135 | 135 | ]
|
136 | 136 | },
|
137 | 137 | "watchContentBase": {
|
138 |
| - "description": "TODO.", |
| 138 | + "description": "Watches the contentBase directory for changes.", |
139 | 139 | "type": "boolean"
|
140 | 140 | },
|
141 | 141 | "open": {
|
142 |
| - "description": "TODO.", |
| 142 | + "description": "Let the CLI open your browser with the URL.", |
143 | 143 | "type": "boolean"
|
144 | 144 | },
|
145 | 145 | "features": {
|
146 | 146 | "description": "TODO.",
|
147 | 147 | "type": "array"
|
148 | 148 | },
|
149 | 149 | "compress": {
|
150 |
| - "description": "TODO.", |
| 150 | + "description": "Gzip compression for all requests.", |
151 | 151 | "type": "boolean"
|
152 | 152 | },
|
153 | 153 | "proxy": {
|
|
176 | 176 | ]
|
177 | 177 | },
|
178 | 178 | "staticOptions": {
|
179 |
| - "description": "TODO.", |
| 179 | + "description": "Options for static files served with contentBase.", |
180 | 180 | "type": "object"
|
181 | 181 | },
|
182 | 182 | "setup": {
|
183 |
| - "description": "TODO.", |
| 183 | + "description": "Exposes the Express server to add custom middleware or routes.", |
184 | 184 | "instanceof": "Function"
|
185 | 185 | },
|
186 | 186 | "stats": {
|
187 |
| - "description": "Used by the webpack CLI program to pass stats options.", |
| 187 | + "description": "Decides what bundle information is displayed.", |
188 | 188 | "anyOf": [
|
189 | 189 | {
|
190 | 190 | "type": "object"
|
|
0 commit comments