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