source: trip-planner-front/node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.json@ 6a80231

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

initial commit

  • Property mode set to 100644
File size: 3.0 KB
Line 
1{
2 "definitions": {
3 "Provides": {
4 "description": "Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.",
5 "anyOf": [
6 {
7 "type": "array",
8 "items": {
9 "description": "Modules that should be provided as shared modules to the share scope.",
10 "anyOf": [
11 {
12 "$ref": "#/definitions/ProvidesItem"
13 },
14 {
15 "$ref": "#/definitions/ProvidesObject"
16 }
17 ]
18 }
19 },
20 {
21 "$ref": "#/definitions/ProvidesObject"
22 }
23 ]
24 },
25 "ProvidesConfig": {
26 "description": "Advanced configuration for modules that should be provided as shared modules to the share scope.",
27 "type": "object",
28 "additionalProperties": false,
29 "properties": {
30 "eager": {
31 "description": "Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.",
32 "type": "boolean"
33 },
34 "shareKey": {
35 "description": "Key in the share scope under which the shared modules should be stored.",
36 "type": "string",
37 "minLength": 1
38 },
39 "shareScope": {
40 "description": "Share scope name.",
41 "type": "string",
42 "minLength": 1
43 },
44 "version": {
45 "description": "Version of the provided module. Will replace lower matching versions, but not higher.",
46 "anyOf": [
47 {
48 "description": "Don't provide a version.",
49 "enum": [false]
50 },
51 {
52 "description": "Version as string. Each part of the version should be separated by a dot '.'.",
53 "type": "string"
54 }
55 ]
56 }
57 }
58 },
59 "ProvidesItem": {
60 "description": "Request to a module that should be provided as shared module to the share scope (will be resolved when relative).",
61 "type": "string",
62 "minLength": 1
63 },
64 "ProvidesObject": {
65 "description": "Modules that should be provided as shared modules to the share scope. Property names are used as share keys.",
66 "type": "object",
67 "additionalProperties": {
68 "description": "Modules that should be provided as shared modules to the share scope.",
69 "anyOf": [
70 {
71 "$ref": "#/definitions/ProvidesConfig"
72 },
73 {
74 "$ref": "#/definitions/ProvidesItem"
75 }
76 ]
77 }
78 }
79 },
80 "title": "ProvideSharedPluginOptions",
81 "type": "object",
82 "additionalProperties": false,
83 "properties": {
84 "provides": {
85 "$ref": "#/definitions/Provides"
86 },
87 "shareScope": {
88 "description": "Share scope name used for all provided modules (defaults to 'default').",
89 "type": "string",
90 "minLength": 1
91 }
92 },
93 "required": ["provides"]
94}
Note: See TracBrowser for help on using the repository browser.