This commit is contained in:
lalBi94
2023-03-05 13:23:23 +01:00
commit 7bc56c09b5
14034 changed files with 1834369 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
/*
* This file was automatically generated.
* DO NOT MODIFY BY HAND.
* Run `yarn special-lint-fix` to update
*/
declare const check: (options: import("../../../declarations/plugins/optimize/AggressiveSplittingPlugin").AggressiveSplittingPluginOptions) => boolean;
export = check;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,23 @@
{
"title": "AggressiveSplittingPluginOptions",
"type": "object",
"additionalProperties": false,
"properties": {
"chunkOverhead": {
"description": "Extra cost for each chunk (Default: 9.8kiB).",
"type": "number"
},
"entryChunkMultiplicator": {
"description": "Extra cost multiplicator for entry chunks (Default: 10).",
"type": "number"
},
"maxSize": {
"description": "Byte, max size of per file (Default: 50kiB).",
"type": "number"
},
"minSize": {
"description": "Byte, split point. (Default: 30kiB).",
"type": "number"
}
}
}

View File

@@ -0,0 +1,7 @@
/*
* This file was automatically generated.
* DO NOT MODIFY BY HAND.
* Run `yarn special-lint-fix` to update
*/
declare const check: (options: import("../../../declarations/plugins/optimize/LimitChunkCountPlugin").LimitChunkCountPluginOptions) => boolean;
export = check;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,21 @@
{
"title": "LimitChunkCountPluginOptions",
"type": "object",
"additionalProperties": false,
"properties": {
"chunkOverhead": {
"description": "Constant overhead for a chunk.",
"type": "number"
},
"entryChunkMultiplicator": {
"description": "Multiplicator for initial chunks.",
"type": "number"
},
"maxChunks": {
"description": "Limit the maximum number of chunks using a value greater greater than or equal to 1.",
"type": "number",
"minimum": 1
}
},
"required": ["maxChunks"]
}

View File

@@ -0,0 +1,7 @@
/*
* This file was automatically generated.
* DO NOT MODIFY BY HAND.
* Run `yarn special-lint-fix` to update
*/
declare const check: (options: import("../../../declarations/plugins/optimize/MinChunkSizePlugin").MinChunkSizePluginOptions) => boolean;
export = check;

View File

@@ -0,0 +1,6 @@
/*
* This file was automatically generated.
* DO NOT MODIFY BY HAND.
* Run `yarn special-lint-fix` to update
*/
"use strict";function r(e,{instancePath:t="",parentData:n,parentDataProperty:i,rootData:o=e}={}){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;{let t;if(void 0===e.minChunkSize&&(t="minChunkSize"))return r.errors=[{params:{missingProperty:t}}],!1;{const t=0;for(const t in e)if("chunkOverhead"!==t&&"entryChunkMultiplicator"!==t&&"minChunkSize"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(0===t){if(void 0!==e.chunkOverhead){const t=0;if("number"!=typeof e.chunkOverhead)return r.errors=[{params:{type:"number"}}],!1;var a=0===t}else a=!0;if(a){if(void 0!==e.entryChunkMultiplicator){const t=0;if("number"!=typeof e.entryChunkMultiplicator)return r.errors=[{params:{type:"number"}}],!1;a=0===t}else a=!0;if(a)if(void 0!==e.minChunkSize){const t=0;if("number"!=typeof e.minChunkSize)return r.errors=[{params:{type:"number"}}],!1;a=0===t}else a=!0}}}}return r.errors=null,!0}module.exports=r,module.exports.default=r;

View File

@@ -0,0 +1,20 @@
{
"title": "MinChunkSizePluginOptions",
"type": "object",
"additionalProperties": false,
"properties": {
"chunkOverhead": {
"description": "Constant overhead for a chunk.",
"type": "number"
},
"entryChunkMultiplicator": {
"description": "Multiplicator for initial chunks.",
"type": "number"
},
"minChunkSize": {
"description": "Minimum number of characters.",
"type": "number"
}
},
"required": ["minChunkSize"]
}