diff options
| author | ruki <waruqi@gmail.com> | 2018-11-08 00:38:48 +0800 |
|---|---|---|
| committer | ruki <waruqi@gmail.com> | 2018-11-07 21:53:09 +0800 |
| commit | 26105034da4fcce7ac883c899d781f016559310d (patch) | |
| tree | c459a5dc4e3aa0972d9919033ece511ce76dd129 /node_modules/webpack/schemas/plugins/DllReferencePlugin.json | |
| parent | 2c77f00f1a7ecb6c8192f9c16d3b2001b254a107 (diff) | |
| download | xmake-docs-26105034da4fcce7ac883c899d781f016559310d.tar.gz xmake-docs-26105034da4fcce7ac883c899d781f016559310d.zip | |
switch to vuepress
Diffstat (limited to 'node_modules/webpack/schemas/plugins/DllReferencePlugin.json')
| -rw-r--r-- | node_modules/webpack/schemas/plugins/DllReferencePlugin.json | 205 |
1 files changed, 205 insertions, 0 deletions
diff --git a/node_modules/webpack/schemas/plugins/DllReferencePlugin.json b/node_modules/webpack/schemas/plugins/DllReferencePlugin.json new file mode 100644 index 00000000..1e078b97 --- /dev/null +++ b/node_modules/webpack/schemas/plugins/DllReferencePlugin.json @@ -0,0 +1,205 @@ +{ + "definitions": { + "DllReferencePluginOptionsContent": { + "description": "The mappings from request to module info", + "type": "object", + "additionalProperties": { + "description": "Module info", + "type": "object", + "additionalProperties": false, + "properties": { + "buildMeta": { + "description": "Meta information about the module", + "type": "object" + }, + "exports": { + "description": "Information about the provided exports of the module", + "anyOf": [ + { + "description": "Exports unknown/dynamic", + "enum": [true] + }, + { + "description": "List of provided exports of the module", + "type": "array", + "items": { + "description": "Name of the export", + "type": "string", + "minLength": 1 + } + } + ] + }, + "id": { + "description": "Module ID", + "anyOf": [ + { + "type": "number" + }, + { + "type": "string", + "minLength": 1 + } + ] + } + }, + "required": ["id"] + }, + "minProperties": 1 + }, + "DllReferencePluginOptionsManifest": { + "description": "An object containing content, name and type", + "type": "object", + "additionalProperties": false, + "properties": { + "content": { + "description": "The mappings from request to module info", + "anyOf": [ + { + "$ref": "#/definitions/DllReferencePluginOptionsContent" + } + ] + }, + "name": { + "description": "The name where the dll is exposed (external name)", + "type": "string", + "minLength": 1 + }, + "type": { + "description": "The type how the dll is exposed (external type)", + "anyOf": [ + { + "$ref": "#/definitions/DllReferencePluginOptionsSourceType" + } + ] + } + }, + "required": ["content"] + }, + "DllReferencePluginOptionsSourceType": { + "description": "The type how the dll is exposed (external type)", + "enum": [ + "var", + "assign", + "this", + "window", + "global", + "commonjs", + "commonjs2", + "commonjs-module", + "amd", + "amd-require", + "umd", + "umd2", + "jsonp" + ] + } + }, + "title": "DllReferencePluginOptions", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "properties": { + "context": { + "description": "(absolute path) context of requests in the manifest (or content property)", + "type": "string", + "absolutePath": true + }, + "extensions": { + "description": "Extensions used to resolve modules in the dll bundle (only used when using 'scope')", + "type": "array", + "items": { + "description": "An extension", + "type": "string" + } + }, + "manifest": { + "description": "An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation", + "oneOf": [ + { + "$ref": "#/definitions/DllReferencePluginOptionsManifest" + }, + { + "type": "string", + "absolutePath": true + } + ] + }, + "name": { + "description": "The name where the dll is exposed (external name, defaults to manifest.name)", + "type": "string", + "minLength": 1 + }, + "scope": { + "description": "Prefix which is used for accessing the content of the dll", + "type": "string", + "minLength": 1 + }, + "sourceType": { + "description": "How the dll is exposed (libraryTarget, defaults to manifest.type)", + "anyOf": [ + { + "$ref": "#/definitions/DllReferencePluginOptionsSourceType" + } + ] + }, + "type": { + "description": "The way how the export of the dll bundle is used", + "enum": ["require", "object"] + } + }, + "required": ["manifest"] + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "content": { + "description": "The mappings from request to module info", + "anyOf": [ + { + "$ref": "#/definitions/DllReferencePluginOptionsContent" + } + ] + }, + "context": { + "description": "(absolute path) context of requests in the manifest (or content property)", + "type": "string", + "absolutePath": true + }, + "extensions": { + "description": "Extensions used to resolve modules in the dll bundle (only used when using 'scope')", + "type": "array", + "items": { + "description": "An extension", + "type": "string" + } + }, + "name": { + "description": "The name where the dll is exposed (external name)", + "type": "string", + "minLength": 1 + }, + "scope": { + "description": "Prefix which is used for accessing the content of the dll", + "type": "string", + "minLength": 1 + }, + "sourceType": { + "description": "How the dll is exposed (libraryTarget)", + "anyOf": [ + { + "$ref": "#/definitions/DllReferencePluginOptionsSourceType" + } + ] + }, + "type": { + "description": "The way how the export of the dll bundle is used", + "enum": ["require", "object"] + } + }, + "required": ["content", "name"] + } + ] +} |
