source: trip-planner-front/node_modules/webpack/schemas/plugins/container/ContainerPlugin.json@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 8.0 KB
Line 
1{
2 "definitions": {
3 "AuxiliaryComment": {
4 "description": "Add a comment in the UMD wrapper.",
5 "anyOf": [
6 {
7 "description": "Append the same comment above each import style.",
8 "type": "string"
9 },
10 {
11 "$ref": "#/definitions/LibraryCustomUmdCommentObject"
12 }
13 ]
14 },
15 "EntryRuntime": {
16 "description": "The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.",
17 "anyOf": [
18 {
19 "enum": [false]
20 },
21 {
22 "type": "string",
23 "minLength": 1
24 }
25 ]
26 },
27 "Exposes": {
28 "description": "Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.",
29 "anyOf": [
30 {
31 "type": "array",
32 "items": {
33 "description": "Modules that should be exposed by this container.",
34 "anyOf": [
35 {
36 "$ref": "#/definitions/ExposesItem"
37 },
38 {
39 "$ref": "#/definitions/ExposesObject"
40 }
41 ]
42 }
43 },
44 {
45 "$ref": "#/definitions/ExposesObject"
46 }
47 ]
48 },
49 "ExposesConfig": {
50 "description": "Advanced configuration for modules that should be exposed by this container.",
51 "type": "object",
52 "additionalProperties": false,
53 "properties": {
54 "import": {
55 "description": "Request to a module that should be exposed by this container.",
56 "anyOf": [
57 {
58 "$ref": "#/definitions/ExposesItem"
59 },
60 {
61 "$ref": "#/definitions/ExposesItems"
62 }
63 ]
64 },
65 "name": {
66 "description": "Custom chunk name for the exposed module.",
67 "type": "string"
68 }
69 },
70 "required": ["import"]
71 },
72 "ExposesItem": {
73 "description": "Module that should be exposed by this container.",
74 "type": "string",
75 "minLength": 1
76 },
77 "ExposesItems": {
78 "description": "Modules that should be exposed by this container.",
79 "type": "array",
80 "items": {
81 "$ref": "#/definitions/ExposesItem"
82 }
83 },
84 "ExposesObject": {
85 "description": "Modules that should be exposed by this container. Property names are used as public paths.",
86 "type": "object",
87 "additionalProperties": {
88 "description": "Modules that should be exposed by this container.",
89 "anyOf": [
90 {
91 "$ref": "#/definitions/ExposesConfig"
92 },
93 {
94 "$ref": "#/definitions/ExposesItem"
95 },
96 {
97 "$ref": "#/definitions/ExposesItems"
98 }
99 ]
100 }
101 },
102 "LibraryCustomUmdCommentObject": {
103 "description": "Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.",
104 "type": "object",
105 "additionalProperties": false,
106 "properties": {
107 "amd": {
108 "description": "Set comment for `amd` section in UMD.",
109 "type": "string"
110 },
111 "commonjs": {
112 "description": "Set comment for `commonjs` (exports) section in UMD.",
113 "type": "string"
114 },
115 "commonjs2": {
116 "description": "Set comment for `commonjs2` (module.exports) section in UMD.",
117 "type": "string"
118 },
119 "root": {
120 "description": "Set comment for `root` (global variable) section in UMD.",
121 "type": "string"
122 }
123 }
124 },
125 "LibraryCustomUmdObject": {
126 "description": "Description object for all UMD variants of the library name.",
127 "type": "object",
128 "additionalProperties": false,
129 "properties": {
130 "amd": {
131 "description": "Name of the exposed AMD library in the UMD.",
132 "type": "string",
133 "minLength": 1
134 },
135 "commonjs": {
136 "description": "Name of the exposed commonjs export in the UMD.",
137 "type": "string",
138 "minLength": 1
139 },
140 "root": {
141 "description": "Name of the property exposed globally by a UMD library.",
142 "anyOf": [
143 {
144 "type": "array",
145 "items": {
146 "description": "Part of the name of the property exposed globally by a UMD library.",
147 "type": "string",
148 "minLength": 1
149 }
150 },
151 {
152 "type": "string",
153 "minLength": 1
154 }
155 ]
156 }
157 }
158 },
159 "LibraryExport": {
160 "description": "Specify which export should be exposed as library.",
161 "anyOf": [
162 {
163 "type": "array",
164 "items": {
165 "description": "Part of the export that should be exposed as library.",
166 "type": "string",
167 "minLength": 1
168 }
169 },
170 {
171 "type": "string",
172 "minLength": 1
173 }
174 ]
175 },
176 "LibraryName": {
177 "description": "The name of the library (some types allow unnamed libraries too).",
178 "anyOf": [
179 {
180 "type": "array",
181 "items": {
182 "description": "A part of the library name.",
183 "type": "string",
184 "minLength": 1
185 },
186 "minItems": 1
187 },
188 {
189 "type": "string",
190 "minLength": 1
191 },
192 {
193 "$ref": "#/definitions/LibraryCustomUmdObject"
194 }
195 ]
196 },
197 "LibraryOptions": {
198 "description": "Options for library.",
199 "type": "object",
200 "additionalProperties": false,
201 "properties": {
202 "auxiliaryComment": {
203 "$ref": "#/definitions/AuxiliaryComment"
204 },
205 "export": {
206 "$ref": "#/definitions/LibraryExport"
207 },
208 "name": {
209 "$ref": "#/definitions/LibraryName"
210 },
211 "type": {
212 "$ref": "#/definitions/LibraryType"
213 },
214 "umdNamedDefine": {
215 "$ref": "#/definitions/UmdNamedDefine"
216 }
217 },
218 "required": ["type"]
219 },
220 "LibraryType": {
221 "description": "Type of library (types included by default are 'var', 'module', 'assign', 'assign-properties', 'this', 'window', 'self', 'global', 'commonjs', 'commonjs2', 'commonjs-module', 'amd', 'amd-require', 'umd', 'umd2', 'jsonp', 'system', but others might be added by plugins).",
222 "anyOf": [
223 {
224 "enum": [
225 "var",
226 "module",
227 "assign",
228 "assign-properties",
229 "this",
230 "window",
231 "self",
232 "global",
233 "commonjs",
234 "commonjs2",
235 "commonjs-module",
236 "amd",
237 "amd-require",
238 "umd",
239 "umd2",
240 "jsonp",
241 "system"
242 ]
243 },
244 {
245 "type": "string"
246 }
247 ]
248 },
249 "UmdNamedDefine": {
250 "description": "If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.",
251 "type": "boolean"
252 }
253 },
254 "title": "ContainerPluginOptions",
255 "type": "object",
256 "additionalProperties": false,
257 "properties": {
258 "exposes": {
259 "$ref": "#/definitions/Exposes"
260 },
261 "filename": {
262 "description": "The filename for this container relative path inside the `output.path` directory.",
263 "type": "string",
264 "absolutePath": false,
265 "minLength": 1
266 },
267 "library": {
268 "$ref": "#/definitions/LibraryOptions"
269 },
270 "name": {
271 "description": "The name for this container.",
272 "type": "string",
273 "minLength": 1
274 },
275 "runtime": {
276 "$ref": "#/definitions/EntryRuntime"
277 },
278 "shareScope": {
279 "description": "The name of the share scope which is shared with the host (defaults to 'default').",
280 "type": "string",
281 "minLength": 1
282 }
283 },
284 "required": ["name", "exposes"]
285}
Note: See TracBrowser for help on using the repository browser.