aboutsummaryrefslogtreecommitdiff
path: root/node_modules/webpack/schemas/plugins/optimize
diff options
context:
space:
mode:
authorruki <waruqi@gmail.com>2018-11-08 00:38:48 +0800
committerruki <waruqi@gmail.com>2018-11-07 21:53:09 +0800
commit26105034da4fcce7ac883c899d781f016559310d (patch)
treec459a5dc4e3aa0972d9919033ece511ce76dd129 /node_modules/webpack/schemas/plugins/optimize
parent2c77f00f1a7ecb6c8192f9c16d3b2001b254a107 (diff)
downloadxmake-docs-26105034da4fcce7ac883c899d781f016559310d.tar.gz
xmake-docs-26105034da4fcce7ac883c899d781f016559310d.zip
switch to vuepress
Diffstat (limited to 'node_modules/webpack/schemas/plugins/optimize')
-rw-r--r--node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.json23
-rw-r--r--node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.json16
-rw-r--r--node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.json12
-rw-r--r--node_modules/webpack/schemas/plugins/optimize/OccurrenceOrderChunkIdsPlugin.json11
-rw-r--r--node_modules/webpack/schemas/plugins/optimize/OccurrenceOrderModuleIdsPlugin.json11
5 files changed, 73 insertions, 0 deletions
diff --git a/node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.json b/node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.json
new file mode 100644
index 00000000..19bcdfd5
--- /dev/null
+++ b/node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.json
@@ -0,0 +1,23 @@
+{
+ "title": "AggressiveSplittingPluginOptions",
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "chunkOverhead": {
+ "description": "Default: 0",
+ "type": "number"
+ },
+ "entryChunkMultiplicator": {
+ "description": "Default: 1",
+ "type": "number"
+ },
+ "maxSize": {
+ "description": "Byte, maxsize of per file. Default: 51200",
+ "type": "number"
+ },
+ "minSize": {
+ "description": "Byte, split point. Default: 30720",
+ "type": "number"
+ }
+ }
+}
diff --git a/node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.json b/node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.json
new file mode 100644
index 00000000..b2636eef
--- /dev/null
+++ b/node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.json
@@ -0,0 +1,16 @@
+{
+ "title": "LimitChunkCountPluginOptions",
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "maxChunks": {
+ "description": "Limit the maximum number of chunks using a value greater greater than or equal to 1",
+ "type": "number",
+ "minimum": 1
+ },
+ "minChunkSize": {
+ "description": "Set a minimum chunk size",
+ "type": "number"
+ }
+ }
+}
diff --git a/node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.json b/node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.json
new file mode 100644
index 00000000..03e17d65
--- /dev/null
+++ b/node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.json
@@ -0,0 +1,12 @@
+{
+ "title": "MinChunkSizePluginOptions",
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "minChunkSize": {
+ "description": "Minimum number of characters",
+ "type": "number"
+ }
+ },
+ "required": ["minChunkSize"]
+}
diff --git a/node_modules/webpack/schemas/plugins/optimize/OccurrenceOrderChunkIdsPlugin.json b/node_modules/webpack/schemas/plugins/optimize/OccurrenceOrderChunkIdsPlugin.json
new file mode 100644
index 00000000..12facf2f
--- /dev/null
+++ b/node_modules/webpack/schemas/plugins/optimize/OccurrenceOrderChunkIdsPlugin.json
@@ -0,0 +1,11 @@
+{
+ "title": "OccurrenceOrderChunkIdsPluginOptions",
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "prioritiseInitial": {
+ "description": "Prioritise initial size over total size",
+ "type": "boolean"
+ }
+ }
+}
diff --git a/node_modules/webpack/schemas/plugins/optimize/OccurrenceOrderModuleIdsPlugin.json b/node_modules/webpack/schemas/plugins/optimize/OccurrenceOrderModuleIdsPlugin.json
new file mode 100644
index 00000000..d76ac14d
--- /dev/null
+++ b/node_modules/webpack/schemas/plugins/optimize/OccurrenceOrderModuleIdsPlugin.json
@@ -0,0 +1,11 @@
+{
+ "title": "OccurrenceOrderModuleIdsPluginOptions",
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "prioritiseInitial": {
+ "description": "Prioritise initial size over total size",
+ "type": "boolean"
+ }
+ }
+}