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/declarations/plugins/optimize | |
| parent | 2c77f00f1a7ecb6c8192f9c16d3b2001b254a107 (diff) | |
| download | xmake-docs-26105034da4fcce7ac883c899d781f016559310d.tar.gz xmake-docs-26105034da4fcce7ac883c899d781f016559310d.zip | |
switch to vuepress
Diffstat (limited to 'node_modules/webpack/declarations/plugins/optimize')
5 files changed, 76 insertions, 0 deletions
diff --git a/node_modules/webpack/declarations/plugins/optimize/AggressiveSplittingPlugin.d.ts b/node_modules/webpack/declarations/plugins/optimize/AggressiveSplittingPlugin.d.ts new file mode 100644 index 00000000..9f5360c4 --- /dev/null +++ b/node_modules/webpack/declarations/plugins/optimize/AggressiveSplittingPlugin.d.ts @@ -0,0 +1,24 @@ +/** + * This file was automatically generated. + * DO NOT MODIFY BY HAND. + * Run `yarn special-lint-fix` to update + */ + +export interface AggressiveSplittingPluginOptions { + /** + * Default: 0 + */ + chunkOverhead?: number; + /** + * Default: 1 + */ + entryChunkMultiplicator?: number; + /** + * Byte, maxsize of per file. Default: 51200 + */ + maxSize?: number; + /** + * Byte, split point. Default: 30720 + */ + minSize?: number; +} diff --git a/node_modules/webpack/declarations/plugins/optimize/LimitChunkCountPlugin.d.ts b/node_modules/webpack/declarations/plugins/optimize/LimitChunkCountPlugin.d.ts new file mode 100644 index 00000000..8cd59ed6 --- /dev/null +++ b/node_modules/webpack/declarations/plugins/optimize/LimitChunkCountPlugin.d.ts @@ -0,0 +1,16 @@ +/** + * This file was automatically generated. + * DO NOT MODIFY BY HAND. + * Run `yarn special-lint-fix` to update + */ + +export interface LimitChunkCountPluginOptions { + /** + * Limit the maximum number of chunks using a value greater greater than or equal to 1 + */ + maxChunks?: number; + /** + * Set a minimum chunk size + */ + minChunkSize?: number; +} diff --git a/node_modules/webpack/declarations/plugins/optimize/MinChunkSizePlugin.d.ts b/node_modules/webpack/declarations/plugins/optimize/MinChunkSizePlugin.d.ts new file mode 100644 index 00000000..61d20fd9 --- /dev/null +++ b/node_modules/webpack/declarations/plugins/optimize/MinChunkSizePlugin.d.ts @@ -0,0 +1,12 @@ +/** + * This file was automatically generated. + * DO NOT MODIFY BY HAND. + * Run `yarn special-lint-fix` to update + */ + +export interface MinChunkSizePluginOptions { + /** + * Minimum number of characters + */ + minChunkSize: number; +} diff --git a/node_modules/webpack/declarations/plugins/optimize/OccurrenceOrderChunkIdsPlugin.d.ts b/node_modules/webpack/declarations/plugins/optimize/OccurrenceOrderChunkIdsPlugin.d.ts new file mode 100644 index 00000000..0396f554 --- /dev/null +++ b/node_modules/webpack/declarations/plugins/optimize/OccurrenceOrderChunkIdsPlugin.d.ts @@ -0,0 +1,12 @@ +/** + * This file was automatically generated. + * DO NOT MODIFY BY HAND. + * Run `yarn special-lint-fix` to update + */ + +export interface OccurrenceOrderChunkIdsPluginOptions { + /** + * Prioritise initial size over total size + */ + prioritiseInitial?: boolean; +} diff --git a/node_modules/webpack/declarations/plugins/optimize/OccurrenceOrderModuleIdsPlugin.d.ts b/node_modules/webpack/declarations/plugins/optimize/OccurrenceOrderModuleIdsPlugin.d.ts new file mode 100644 index 00000000..c29e0e95 --- /dev/null +++ b/node_modules/webpack/declarations/plugins/optimize/OccurrenceOrderModuleIdsPlugin.d.ts @@ -0,0 +1,12 @@ +/** + * This file was automatically generated. + * DO NOT MODIFY BY HAND. + * Run `yarn special-lint-fix` to update + */ + +export interface OccurrenceOrderModuleIdsPluginOptions { + /** + * Prioritise initial size over total size + */ + prioritiseInitial?: boolean; +} |
