source: trip-planner-front/node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.json@ ceaed42

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

initial commit

  • Property mode set to 100644
File size: 3.7 KB
Line 
1{
2 "definitions": {
3 "ExternalsType": {
4 "description": "Specifies the default type of externals ('amd*', 'umd*', 'system' and 'jsonp' depend on output.libraryTarget set to the same value).",
5 "enum": [
6 "var",
7 "module",
8 "assign",
9 "this",
10 "window",
11 "self",
12 "global",
13 "commonjs",
14 "commonjs2",
15 "commonjs-module",
16 "amd",
17 "amd-require",
18 "umd",
19 "umd2",
20 "jsonp",
21 "system",
22 "promise",
23 "import",
24 "script",
25 "node-commonjs"
26 ]
27 },
28 "Remotes": {
29 "description": "Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.",
30 "anyOf": [
31 {
32 "type": "array",
33 "items": {
34 "description": "Container locations and request scopes from which modules should be resolved and loaded at runtime.",
35 "anyOf": [
36 {
37 "$ref": "#/definitions/RemotesItem"
38 },
39 {
40 "$ref": "#/definitions/RemotesObject"
41 }
42 ]
43 }
44 },
45 {
46 "$ref": "#/definitions/RemotesObject"
47 }
48 ]
49 },
50 "RemotesConfig": {
51 "description": "Advanced configuration for container locations from which modules should be resolved and loaded at runtime.",
52 "type": "object",
53 "additionalProperties": false,
54 "properties": {
55 "external": {
56 "description": "Container locations from which modules should be resolved and loaded at runtime.",
57 "anyOf": [
58 {
59 "$ref": "#/definitions/RemotesItem"
60 },
61 {
62 "$ref": "#/definitions/RemotesItems"
63 }
64 ]
65 },
66 "shareScope": {
67 "description": "The name of the share scope shared with this remote.",
68 "type": "string",
69 "minLength": 1
70 }
71 },
72 "required": ["external"]
73 },
74 "RemotesItem": {
75 "description": "Container location from which modules should be resolved and loaded at runtime.",
76 "type": "string",
77 "minLength": 1
78 },
79 "RemotesItems": {
80 "description": "Container locations from which modules should be resolved and loaded at runtime.",
81 "type": "array",
82 "items": {
83 "$ref": "#/definitions/RemotesItem"
84 }
85 },
86 "RemotesObject": {
87 "description": "Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.",
88 "type": "object",
89 "additionalProperties": {
90 "description": "Container locations from which modules should be resolved and loaded at runtime.",
91 "anyOf": [
92 {
93 "$ref": "#/definitions/RemotesConfig"
94 },
95 {
96 "$ref": "#/definitions/RemotesItem"
97 },
98 {
99 "$ref": "#/definitions/RemotesItems"
100 }
101 ]
102 }
103 }
104 },
105 "title": "ContainerReferencePluginOptions",
106 "type": "object",
107 "additionalProperties": false,
108 "properties": {
109 "remoteType": {
110 "description": "The external type of the remote containers.",
111 "oneOf": [
112 {
113 "$ref": "#/definitions/ExternalsType"
114 }
115 ]
116 },
117 "remotes": {
118 "$ref": "#/definitions/Remotes"
119 },
120 "shareScope": {
121 "description": "The name of the share scope shared with all remotes (defaults to 'default').",
122 "type": "string",
123 "minLength": 1
124 }
125 },
126 "required": ["remoteType", "remotes"]
127}
Note: See TracBrowser for help on using the repository browser.