1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
| {
| "definitions": {
| "ManifestEntrypoint": {
| "description": "Describes a manifest entrypoint.",
| "type": "object",
| "additionalProperties": false,
| "properties": {
| "imports": {
| "description": "Contains the names of entrypoints.",
| "type": "array",
| "items": {
| "description": "The name of file.",
| "type": "string",
| "minLength": 1
| }
| },
| "parents": {
| "description": "Contains the names of parent entrypoints.",
| "type": "array",
| "items": {
| "description": "The entrypoint name.",
| "type": "string",
| "minLength": 1
| }
| }
| },
| "required": ["imports"]
| },
| "ManifestItem": {
| "description": "Describes a manifest asset that links the emitted path to the producing asset.",
| "type": "object",
| "additionalProperties": false,
| "properties": {
| "file": {
| "description": "The path absolute URL (this indicates that the path is absolute from the server's root directory) to file.",
| "type": "string"
| },
| "src": {
| "description": "The source path relative to the context.",
| "type": "string"
| }
| },
| "required": ["file"]
| },
| "ManifestObject": {
| "description": "The manifest object.",
| "type": "object",
| "additionalProperties": true,
| "properties": {
| "assets": {
| "description": "Contains the names of assets.",
| "type": "object",
| "tsType": "Record<string, ManifestItem>"
| },
| "entrypoints": {
| "description": "Contains the names of entrypoints.",
| "type": "object",
| "tsType": "Record<string, ManifestEntrypoint>"
| }
| },
| "required": ["assets", "entrypoints"]
| }
| },
| "title": "ManifestPluginOptions",
| "type": "object",
| "additionalProperties": false,
| "properties": {
| "entrypoints": {
| "description": "Enables/disables generation of the entrypoints manifest section.",
| "type": "boolean"
| },
| "filename": {
| "description": "Specifies the filename of the output file on disk. By default the plugin will emit `manifest.json` inside the 'output.path' directory.",
| "type": "string",
| "absolutePath": false,
| "minLength": 1
| },
| "filter": {
| "description": "Allows filtering the files which make up the manifest.",
| "instanceof": "Function",
| "tsType": "import('../../lib/ManifestPlugin').Filter"
| },
| "generate": {
| "description": "A function that receives the manifest object, modifies it, and returns the modified manifest.",
| "instanceof": "Function",
| "tsType": "import('../../lib/ManifestPlugin').Generate"
| },
| "prefix": {
| "description": "Specifies a path prefix for all keys in the manifest.",
| "type": "string"
| },
| "serialize": {
| "description": "A function that receives the manifest object and returns the manifest string.",
| "instanceof": "Function",
| "tsType": "import('../../lib/ManifestPlugin').Serialize"
| }
| }
| }
|
|